Hi.
Im trying to animate (fade in) the moment when the trail renderer appears because the first trails are a bit odd (a few frames) at the beginning. I
ve tried to animate disable/enable, emitting off/on even alpha for the color and none of them worked.
Any ideas?
Thanks
“Color over Trail” or “Width over Trail” can control the first bit of the trail.
If you want to set the alpha, make sure the material/shader is transparent too.
Sorry there is a problem on the forum and I can`t embed Youtube shorts.
Odd - first 2 frames during scale of the spawned elements (trail appears for a short time).
Normal behavior when elements are moved.
Timeline playback looks fine. The problem appears in Game mode.
(Unity 2019.4.25f1)
“Color over Trail” and “Width over Trail” seems to be from particle system trails module.
Ive found a solution. I
ve made a child object with the trail renderer, and I`ve animated the scale for “rect transform” of the child and “is active”.
Sorry you’re right - they are just called “Color” and “Width” in the TrailRenderer.
(https://docs.unity3d.com/Manual/class-TrailRenderer.html)
Glad you found a fix!