08-06-2023, 10:04 AM
Hello all!
I'm trying to build a race circuit viewed from the top, with cars (as dots) moving along the path, like this:
![[Image: MNzqBpo.png]](https://i.imgur.com/MNzqBpo.png)
To be somewhat credible, I don't want the cars to have uniform speed, as they should slow down at the entry of a turn, and speed up at the exit. I just need something simple however.
What would be the best way to achieve that? I was thinking maybe setting up multiple "slowdown" / "speedup" events along the path? In that case, could I pass along something like an AnimatedCurve as a parameter, to better control the change of speed, or am I limited to bool/float/string?
Thank you, cheers!
I'm trying to build a race circuit viewed from the top, with cars (as dots) moving along the path, like this:
![[Image: MNzqBpo.png]](https://i.imgur.com/MNzqBpo.png)
To be somewhat credible, I don't want the cars to have uniform speed, as they should slow down at the entry of a turn, and speed up at the exit. I just need something simple however.
What would be the best way to achieve that? I was thinking maybe setting up multiple "slowdown" / "speedup" events along the path? In that case, could I pass along something like an AnimatedCurve as a parameter, to better control the change of speed, or am I limited to bool/float/string?
Thank you, cheers!