Using Shapes to create a TrailRenderer?

Avatar
  • updated
  • Answered

Hi, I make heavy use of the TrailRenderer in Unity (https://docs.unity3d.com/Manual/class-TrailRenderer.html).

However, I have logged a bug with Unity (crashing in UnityPlayer during Build3DLine) so I'm looking for alternatives. 


Do you think the PolyLine or PolyShape could give me similar functionality as the stock Unity version? Maybe not out of the box, but with a bit of work would it be possible? 

Reporting a bug? please specify Unity version:
Reporting a bug? please specify Shapes version:
Reporting a bug? please specify Render Pipeline:
Pinned replies
Avatar
Freya Holmér creator
  • Answer
  • Answered

it might be possible with some extra work yeah

for instance, there's no gradient or thickness curve you can apply across the polyline, and there's no automatic trailing off over time, but you can definitely implement it if you know C#!

if it helps, this is what the settings currently look like:

Avatar
Freya Holmér creator
  • Answer
  • Answered

it might be possible with some extra work yeah

for instance, there's no gradient or thickness curve you can apply across the polyline, and there's no automatic trailing off over time, but you can definitely implement it if you know C#!

if it helps, this is what the settings currently look like: