- Home /
Is it possible to control a particles lifetime(duration) by distance rather than time using code
I am working on a couple of vehicle trails for a mobile game.I have to cracking my head trying to limit the lifetime of smoke trails.I would like to know if it is possible to control the lifetime based on distance rather than time.By code.It will greatly help my progress.
Cheers
Answer by Foo-Byte · Nov 28, 2015 at 11:28 PM
Have you looked into the Trail Renderer? It sounds like it's designed to do exactly what you're trying to achieve with particles.
Your answer
Follow this Question
Related Questions
How do I make Trail of ParticleSystem to be rendered as Horizontal Billboard or Vertical Billboard? 0 Answers
How to fade out decal particles using color over lifetime? 2 Answers
Multiple trails behind one particle? 1 Answer
modify particle system startLifetime over time 1 Answer
Get/Set Particle Trail Positions? 0 Answers