Rotate the camera to the player's head rotation

hey, i would like to achieve and effect where if the player is upside down, the camera sees the world upside down. I know this is possible, but i havent been able to change the camera rotation to the head rotation, how would i do this?

Requires some ideas around RunService.Stepped or RunService.RenderStepped. Set the camera on the client to Scriptable and then keep its CFrame synchronized to the player’s head.

1 Like

yeah, i got this part of it in the bag, but some weird bugs came with it. 1: no looking up or down, 2: when moving it would always turn to the left a bit

also 3: when going backwards, it will make the player spin uncontrollably

Majority of the issues probably stem from conflicting details, race conditions or floating-point errors. Try to set the CameraSubject to nil and then try again. What exactly is the purpose of the code?

When crouching, inspecting, things like that, that will just make it better. It isn’t a necessary, but it would be nice as i am going for realism

setting to nil still didnt fix it, its just these little things that bug out and i would like to fix, but i have no clue how i would so