how to do a programed path for a player?..

Hi .!

I´m dealing with some kind of Mario Party style game…
i have done a path, it has curves and straight ways.

Player goes only in one direction (forward), but i want it to turn automatically in a curve…

for example, this image:

as you can see, mario must to turn left according to the path,

you must to think that you only can move forward, not left or right…

any clues how to do that?

actually i´m doing it using trigger in the path, when player touches the trigger it turns some Y values so it can face the path and turn… but i think there is a better way to do that…

thank you so much…

animation?

could be… but how to stop in a middle point… just in the curve the player must to stop sometime, if i put animation.Stop(), then the animation will automatically rewind…

if only a pause function exists…

if i set animation speed to 0… that could be considered as pause?.. i will
try…

edit:
does animation will break physics …? because path is uneven…, player has physics, it will goes up and down,

I wouldn’t mix the two. Why do you want to use physics here?

there are some kind of traps on the way, and player must to press jump key to avoid them… but i have an idea, to activate physics before this happens… then disable it and continue the animation… might be a solution…