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!