Restricting player to move side to side
Hi all!
I would like to restrict my player to move side to side only, not forward or back. Is there a way to do that?
If so, can I limit my player to how far side to side? For example, subway surfer, user can only go side to side on certain amount of lanes. The user isn't moving the player forward at all, it does it himself (or the world is coming to the player)
