Unlocking Camera Rotation

I’m currently trying to unlock the camera rotation on the up and down axis so that when my character is flying they have unlimited rotational freedom in every direction so that players can be super precise with their movements

by default the camera is locked to -80 and +80, ive tried setting this to -99999 and +99999 but it still gets locked at roughly -90 and positive 90 and flings me if i try to push past it.

my only idea is to set the camera to follow and just have a part follow the player with a math decided offset, and then just scripting the character to rotate if i move my mouse in a set direction, but i would really prefer not to do this because it is super math heavy and i would have to mess with quaternions

Enum.CameraType.Scriptable

Then you have to code your own camera. The Camera should still have the angle limitations since that prevents the camera going crazy when reaching the top/bottom.

There is no way to do this without messing with advanced math. Just follow a tutorial.

Space Engineers for example doesn’t move the camera, but has the camera locked to the player itself. Moving the mouse rotates the player instead, therefore the camera can naturally rotate.

This still requires the use of quaternions, thats just the nature of doing proper rotation in games.

1 Like

this is essentially what i was gonna try doing, thanks tho