Search Unity

Tutorial - How to Implement Bullet Trails With TrailRenderer Configurable via ScriptableObjects

Discussion in 'Community Learning & Teaching' started by ChrisKurhan, Jun 29, 2021.

  1. ChrisKurhan

    ChrisKurhan

    Joined:
    Dec 28, 2015
    Posts:
    268


    Hey all! Happy #TutorialTuesday!

    This week is not part of the AI Series, but is building on AI Series Part 8 where I showed how to implement homing projectiles moving on a curve.
    I'm using that as a starting point, and adding in a TrailRenderer that we'll configure with ScriptableObjects so you can centralize the trail configurations to keep common configurations in a single ScriptableObject, but still have the flexibility to have a unique trail per projectile type you need. This is a great way to add some flair to your bullets and make

    As always, full project code is available on GitHub!

    If you're getting value from this series, please consider liking and subscribing to help these tutorials reach and add value to even more people! New tutorials every Tuesday, sometimes on other days too.