[SOLVED] Reset Camera to original rotation

In a section of my game, I need to lock the camera, so the player cannot look around anymore. Due to a bug in my movement script, the player moves like a rock, i.e. the player has not enough power to move. I need to rotate the camera just a bit in order for the player to move as intended. I try a workaround by letting the player first move the camera, then resetting the back to its original rotation and then locking it.

My (local) rotation of the camera is (0, 0, 0). How can I set the camera’s original rotation?

Thx in advance

Hi @SayHiToMePls! Are you looking for the code below?

1 Like

Yes, I do! Thank you