How to Generate Colliders for Line Renderers #shorts




Published: 23 Jun 2022

Full Tutorial: https://youtu.be/2BH1yQXCpeU


Learn how to dynamically generate a collider that follows your Line Renderer regardless of shape or size of your Line Renderer! In this tutorial I cover how to add a new Mesh Collider component to your Line Renderer GameObject and generate a mesh at runtime that matches your Line Renderer!


As always, all code from this video is available on GitHub: https://github.com/llamacademy/line-renderer-collider


📱 Let's stay connected

YouTube: https://youtube.com/c/LlamAcademy

Patreon: https://www.patreon.com/llamacademy

Facebook: https://facebook.com/LlamAcademyOfficial

Twitter: https://twitter.com/TheLlamAcademy

TikTok: https://tiktok.com/@LlamAcademy

Instagram: https://instagram.com/LlamAcademy


----


Believe in LlamAcademy's mission and have received value from the videos? Consider becoming a Patreon supporter: https://www.patreon.com/llamacademy


----

Most tutorials come from knowledge gained making https://survival.llama.software Llama Survival - a top-down zombie survival shooter for Android and iOS.

I also have some Unity Assets (affiliate link): https://assetstore.unity.com/publishers/22409?_aid=1101l9QvC


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.