I have created a spline so that the player can balance over a bar.
The problem is now the controls.
The spline has a beginning and an end, if you press forward, the character will always run towards the end of the spline and if you press backwards, it will go to the beginning.
But if the player starts from the “end” of the spline direction, you also press forward because you want to go straight ahead. In that case, the character turns directly 180 degrees and runs back.
I need a way that I can work around the problem.
But I would also be open about other systems if you have other ideas.
Thanks in advance