Zvenzo:
May I ask for your calculation formula then, please? Because I cant get it to work. I multiplied and divided everything I could think of and either its not moving at all or its eventually increased the speed. Spline Length = Duration is not working either. So is Spline Length minus 1 or 2. Dont know what else I could try.
The Spline starts with 2 Points and 30 Spline length.
As a new track gets added, 1 Spline Point and 100 Spline length gets added.
The fixed amount is not an option, because tracks can be added ingame.
Maybe the issue is that the player builds additional tracks while the timeline is running?
Edit: Do I have to connect “Finished” to “Set Play Rate” ? And thats why none of this was working?
It’s like this:
Set it up so that you Duration is set to 1 and fiddle with your spline until you’re happy with the speed the car goes. It will probably quite a short spline at the moment.
You find out how long your spline actually is like this:
Let’s say it’s 100. I don’t know it might be 5000 or 3, it doesn’t matter, but let’s say it’s 100.
So you’re happy with your car going 100 units in 1 second.
Then add some more points to your spline. It’s now longer.
While the game is running now, you can calculate the Duration variable like this:
( see the 100 in there, that’s the 100 from above, but in your case it will be another number ).