- Home /
Trail Renderer generates from origin since update of Unity
I stated noticing the trail renderers in my games started reacting very different since I updated Unity. After looking at the standard assets, the problem is now there too in the sky car demo.
When you have your car at a diffrent elevation than Z = 0, you can see the trails rendering from 0,0,0
I tried to change the script that inits the prefab, but cannot sort this out.
Answer by smilefr · Oct 07, 2018 at 07:47 AM
The TrailRenderer class has a Clear() method, try calling it in the Start() function of your gameobject.
Your answer
Follow this Question
Related Questions
Game works in editor, not in build 1 Answer
Unity not compiling script changes 2 Answers
Trail after game object with pause/clear function 2 Answers
Trail renderer leaves streaks 0 Answers
Are trail renderers still lacking dynamic batching? 0 Answers