I’m working on a path creating software where a user can place different points and a line is drawn between them. Then it needs to play an animation where it goes through all the points matching it’s maximum velocity at the point.
For the actual question,
How can I create an animation where a node goes from one point to the next in an array without using time, but rather velocity, and being able to report it’s progress along the path for a progress bar.
Sorry if this is a little bit hard to understand, I can provide information where there’s confusion.
You can use a Path2D with a PathFollow2D and animate the PathFollow2D.progress_ratio property.
The only issue is it must be able to adjust the speed it follows the path with so they it matches the told velocity
So, the best solution wound up being having a character body follow the path created, but now I’m having an issue finding it’s percentage along the path