Skip to content

Learn how to dynamically generate a collider that aligns to your Line Renderer regardless of shape or size of your Line Renderer

License

Notifications You must be signed in to change notification settings

llamacademy/line-renderer-collider

Repository files navigation

How to Generate Colliders for Line Renderers

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!

It's easier than you might think!

Youtube Tutorial

Patreon Supporters

Have you been getting value out of these tutorials? Do you believe in LlamAcademy's mission of helping everyone make their game dev dream become a reality? Consider becoming a Patreon supporter and get your name added to this list, as well as other cool perks. Head over to https://patreon.com/llamacademy to show your support.

Phenomenal Supporter Tier

  • YOUR NAME HERE!

Tremendous Supporter Tier

  • YOUR NAME HERE!

Awesome Supporter Tier

  • Andrew Bowen
  • Gerald Anderson
  • AudemKay
  • Paul Berry
  • Matt Parkin
  • Ivan
  • YOUR NAME HERE!

Supporters

  • Bastian
  • Trey Briggs
  • YOUR NAME HERE!

Other Projects

Interested in other AI Topics in Unity, or other tutorials on Unity in general?

Requirements

  • Requires Unity 2021.3 LTS or higher. (technically the API is supported from 2018, but I haven't tried older versions of Unity with this project)

About

Learn how to dynamically generate a collider that aligns to your Line Renderer regardless of shape or size of your Line Renderer

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project