I am working on SFCave 2d game.
For this I am using trail renderer to show line behind player. At present I have implemented basic functionality of trail renderer and it is working fine.
Now I want following changes in basic trail renderer.
I always want fixed size trail renderer not change size of tail based on position
At start of game, right now there is no trail drawn but I want some specific size trail to be drawn at start also.
In original game there is dotted trail is created so for implementing this what is the basic concept?
Please give some suggestions in this. If any market plugin can help me in this then suggest this also.
I’ve implemented line renderer with adjusted positions to simulate fixed length trail. I believe performance can be improved, but there is raw implementation anyway:
This basically just checks the current speed the rigidbody has and then turns the time around to make if fit the current velocity magnitude. @siddharth3322