Learning rotation


Change rotation when seat on the coach/chair.

So, today I was learning how to make to seat a player and rotate him when it's near to  seatable things. And in the "tech" words - how to rotate a player, which has a rotation via mouse, how to stop that and make the player face behind him. Every method was terrible. Trial and error methods, I decided to disable the control of the movement and rotation while he is sitting. Player can sit when pressing Q and leave with that exact same key. But here the problem occurs - while disabling sitting, player can interact with furniture, so it moves away. Should I save position of the player before sitting?

Leave a comment

Log in with itch.io to leave a comment.