I’ve been working on a little game, and I would like some help with drawing a line(from the linerenderer component) over time and then reflecting it if the max distance hasn’t been met.
At this moment I do have a line that gets rendered to the correct positions, but I have no clue to do it over time or to reflect it.
Currently I’m still learning C# and any help would be greatly appreciated!
Christian
And when you’re using lerp, remember that the ‘t’ value is not time. It’s a percentage of the distance between the two points. So, if the line is halfway between point A and point B the t value is 0.5. If you want to move the object based on time then use