Camera Rotation Assist
- Anderson Jerome
- Jan 1
- 1 min read
I got a bit nostalgic for one of the project I worked on in the past, and I decided to recreate one of my favorite camera behavior from that game.
Camera Type
Rotation assist.
Intention
Help player adjust camera's facing direction.
Behavior
If the difference between camera and character facing direction is more than a specified range, then camera will smoothly rotate until it matches the character's facing direction.
If player move the camera, immediately prioritize player's input. During this time, there will be no camera assist.
If there is no camera input from the players for a specified duration, then resume checking if the difference between camera and character facing direction, then adjust accordingly.
Usefulness
No wrestling with the camera because it will always prioritize player's input, and only revert back to assisting players after a specified duration.
The camera rotation assist is extremely useful for navigating paths with sharp turns.

The camera rotation assist makes it very comfortable for navigating paths with gradual turns.

Comments