How to reset the trail of a trail renderer so when I recycle and reactivate pooled objects they don't leave streaks?
I've tried turning off the TrailRenderer and ClearParitcles on the particle emmiter when they are reused but with no joy so far...
Example Bullets,
1 Created/Recycled sets position and rotation (reactivated)
2 Fired adds velocity
3 Stop/Explode
4 Deactivated - Velocity Zeroed
5 Pooled
6 Reused back to 1
Am I missing something, in effect I want to restart/reset the trail when I reactivate the object?
You should make a prefab for your bullet and add a TrailRenderer, use Instantiate to use your bullet and Destroy after collision or explosion. This activates and kills your TrailRenderer as desired.