Reverse player on spline

is it possible to run player on spline in reverse direction from one point to another point.

i am working on parking type animation, player moves to forward direction and reverse back and turn to another side.

Have a look here:

https://answers.unrealengine.com/questions/900011/how-to-make-character-move-along-spline-with-input.html

When moving backwards, rotate whatever is moving by 180 if that’s what you need.

Not working!! while moving backward i want to player to next points in spline not previous spline points, next points is same location as previous location. In the given screenshot the player want to move from 1 to 2 forward direction and 2 to 3 in reverse direction.

Not working!!

It was just a method for movement, not a complete solution to your particular problem. You’ll need to, obviously, add more to the script to accomplish something a tad more complex.

i want to player to next points in
spline not previous spline points,
next points is same location as
previous location.

Too confusing of a sentence for me, sorry.

In the given screenshot the player
want to move from 1 to 2 forward
direction and 2 to 3 in reverse
direction.

This makes sense. You know the length of the spline, you know where points are. If the player is at certain distance of the spline, rotate its mesh; if at another distance, between certain points, rotate it again.

If you find this confusing, use 2 separate splines.

I think answer from link is pretty great. You can always use lerp float as a distance. (in my case [Alpha Speed] is just variable 0-1 from a Timeline)

“the player want to move from 1 to 2 forward direction and 2 to 3 in reverse direction.”

On the #2 collider You need to swap spline to follow. Probably some mix of FlipFlop on Your track with Your train implementing this as a spline to use in LocationatDistanceAlongSpline