Head Roll Pitch Demo
This is meant for mod creators. End users won’t enjoy this
This mod listens to some inputs to adjust roll/pitch/yaw and shows how to apply them to a quaternion
Note that any axis and angle can be used. The only reason that roll/pitch/yaw were used is because it’s easy to map keys to those vectors
This adjusted orientation becomes the center of the player’s camera rotation. The player can still look up and down across 180 degrees (90 up, 90 down), but the center is according to the rotation that you set
Even though any rotation can be applied, extreme values would only make sense for a flight sim or doing backflips or something. Keep in mind though that it’s only the camera that’s moving. The body is still straight up and down