Uploaded October 2024 | Updated September 2026, 1 hour ago
In this video you'll learn how to perform Mesh Combination at Runtime in Unity! You'll see how I implemented it specifically in my free and open source minigolf microgame and learn the process for you to implement it in your own game!
Combining meshes has a load of benefits! From improved performance to reduced "ghost collisions", you'll learn the highlights and how to apply them to your own game!
πΆ ALL THINGS LlamAcademy now available at: https://llamacademy.dev/support including latest tutorials, courses, ways to support, and more! Check it out π
π¨βπ» Get the FULL FREE PROJECT on GitHub: github.com/llamacademy/minigolf
π·οΈSave 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: jetbrains.com/store/?section=personal&billing=yearly
π Resources:
π Play the full game on Itch: llamacademy.itch.io/minigolf
π CombineInstance documentation: docs.unity3d.com/ScriptReference/CombineInstance.html
π How to Avoid Ghost Collisions: youtu.be/GqCyz7aoar8
π How the Level Spawner Works: youtu.be/zkKZi5By7rU
π Unity Mesh Simplifier (AWESOME, FREE tool!): github.com/Whinarn/UnityMeshSimplifier
π Dawid's Mesh Combiner (foundation for this one!): github.com/dawid-t/Mesh-Combiner
π Using Unity Mesh Simplifier / AutoLOD: youtu.be/EqVig88ZC_M
Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.
Chapters:
00:00 Topic Introduction
00:54 Algorithm Overview
03:55 Demo & Performance Benefit Review
05:25 Entry Point into Combination - CombineAndSimplifyChildren.cs
06:35 Mesh Combination with the CombineInstance - MeshCombiner.cs
13:55 Remove Duplicate Vertices with UnityMeshSimplifier - CombineAndSimplifyChildren.cs
14:55 Final Demo, Support LlamAcademy
In this video you'll learn how to perform Mesh Combination at Runtime in Unity! You'll see how I implemented it specifically in my free and open source minigolf microgame and learn the process for you to implement it in your own game!
Combining meshes has a load of benefits! From improved performance to reduced "ghost collisions", you'll learn the highlights and how to apply them to your own game!
πΆ ALL THINGS LlamAcademy now available at: https://llamacademy.dev/support including latest tutorials, courses, ways to support, and more! Check it out π
π¨βπ» Get the FULL FREE PROJECT on GitHub: github.com/llamacademy/minigolf
π·οΈSave 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: jetbrains.com/store/?section=personal&billing=yearly
π Resources:
π Play the full game on Itch: llamacademy.itch.io/minigolf
π CombineInstance documentation: docs.unity3d.com/ScriptReference/CombineInstance.html
π How to Avoid Ghost Collisions: youtu.be/GqCyz7aoar8
π How the Level Spawner Works: youtu.be/zkKZi5By7rU
π Unity Mesh Simplifier (AWESOME, FREE tool!): github.com/Whinarn/UnityMeshSimplifier
π Dawid's Mesh Combiner (foundation for this one!): github.com/dawid-t/Mesh-Combiner
π Using Unity Mesh Simplifier / AutoLOD: youtu.be/EqVig88ZC_M
Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.
Chapters:
00:00 Topic Introduction
00:54 Algorithm Overview
03:55 Demo & Performance Benefit Review
05:25 Entry Point into Combination - CombineAndSimplifyChildren.cs
06:35 Mesh Combination with the CombineInstance - MeshCombiner.cs
13:55 Remove Duplicate Vertices with UnityMeshSimplifier - CombineAndSimplifyChildren.cs
14:55 Final Demo, Support LlamAcademy










