Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou can upload this file to other sites but you must credit me as the creator of the file
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features without permission from or credit to me
Conversion permissionYou can convert this file to work with other games as long as you credit me as the creator of the file
Asset use permissionYou are allowed to use the assets in this file without permission or crediting me
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are allowed to earn Donation Points for your mods if they use my assets
Author notes
This was uploaded so people could use any aspect of it. Hope it helps
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
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
v1.1 - Added a trackball control. With a little bit of work, it could be made more generic and an extra way to adjust the orientation of spawned objects
v1.2 - Fixed the trackball lines. Previous attempts were trying too hard, I tried inverse rotations. The fix was simply using standard rotation, then negate Y (need to negate, because controls want negative to be up)