Adding snap to turn for VR

I’m trying to make it so that when I move my Thumbstick2 to the left or right it will rotate the camera in that direction by 90 degrees. (Snap to turn)

I’ve tried to use this code:

local HeadCFrame =vrs:GetUserCFrame(Enum.UserCFrame.Head)
					Cam.CFrame =CFrame.new(Movement.Position.X,Movement.Position.Y+ offset,Movement.Position.Z) * CFrame.new(HeadCFrame.Position) * CFrame.Angles(0,math.rad(90),0)

Nothing changes when I move my thumbstick.

Any help is appreciated!

1 Like

That’s because the head in VR is controlled by the head. You must disable that setting.

How would I disable that setting? What is it called?

I believe it is Camera.HeadLocked.

I already had that off, so I don’t think that’s the issue.