SS3D
SS3D copied to clipboard
Fix player mouse look
Currently, the players annoyingly looks at the mouse no matter where it is. This should be updated to be not as jarring.
Make mouse look more subtle by doing several things:
- The player does not look at the mouse if its too close to the player, behind the player, and if the mouse is near or on UI elements
- The head turn is much slower and more subtle. Have the head lag behind the position of the mouse.
- The head doesn't move if the mouse is moving too much.
- Add a toggle in the settings since I know that some people can find this feature annoying
- Add a delay between the mouse reaching its position and the player looking at it
- Maybe make it so the player looks in a more general direction instead of right on the mouse?
Some pointers:
- Mouse look should only activate at around 1-3 meters away from the player
- Mouse look should only activate within a cone of around 100 degrees and with a 25 degree slice directly in front of the player where look doesn't activate.