How I Implemented Runtime Mesh Combination in my Minigolf Microgame




Published: 01 Oct 2024

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: https://github.com/llamacademy/minigolf

🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: https://www.jetbrains.com/store/?section=personal&billing=yearly


📚 Resources:

🟠 Play the full game on Itch: https://llamacademy.itch.io/minigolf

🟠 CombineInstance documentation: https://docs.unity3d.com/ScriptReference/CombineInstance.html

🟠 How to Avoid Ghost Collisions: https://youtu.be/GqCyz7aoar8

🟠 How the Level Spawner Works: https://youtu.be/zkKZi5By7rU

🟠 Unity Mesh Simplifier (AWESOME, FREE tool!): https://github.com/Whinarn/UnityMeshSimplifier

🟠 Dawid's Mesh Combiner (foundation for this one!): https://github.com/dawid-t/Mesh-Combiner

🟠 Using Unity Mesh Simplifier / AutoLOD: https://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.


Connect on Social Media

Some links may be affiliate links, which at no additional cost to you, gives LlamAcademy a small portion of the purchase.