- Home /
How can I leave a trail/tracks behind a character? Part 2
Hi there,
Same question as before, "I'm a total beginner and I need to make a ball roll around on a flat surface and have it leave a trail/tracks of where it has traveled without it disappearing over time. Is there a function or method that I can use to create this effect?"
I've fiddled around with the line renderer and trail renderer and can't seem to get the result I'm looking for. I'm such a novice so feel free to patronize. I might go for something that has to do with code as Dendro suggested.
Answer by Jesus_Freak · Oct 30, 2010 at 05:49 PM
you could try looking in the scripting reference and look for "particles" in the searchbar, and look for trail renderer, and im sure there's a bit of code to change it from dissapearing over time to staying rendered.
Answer by Loius · Oct 30, 2010 at 06:37 PM
Without disappearing over time? Try Line Renderer, and manually set its points as the ball travels, or it may be possible to set a trail renderer's time to "Mathf.Infinity" (might need to be done in a Start function, not sure if that's a valid entry in the Inspector).
Answer by Meltdown · Dec 07, 2010 at 07:51 AM
Take a look at the car tutorial http://unity3d.com/support/resources/tutorials/car-tutorial
They have some nice information on how to do skidmarks, and remove them...
Your answer
Follow this Question
Related Questions
Trail renderer algorithm? 0 Answers
How do I make a collidable trail? 1 Answer
Changing two different objects renderer colour 1 Answer
trail renderer disapear, strange behavior 1 Answer
Saving a Trailrenderer? 0 Answers