local Pitch:number,Yaw:number,Roll:number = HumanoidRootPart.CFrame:ToObjectSpace(CurrentCamera.CFrame):ToOrientation()
Yaw = CameraUtility.CalculateRotationLimit(Yaw,-Limit.Yaw,Limit.Yaw)
CurrentCamera.CFrame = HumanoidRootPart.CFrame:ToWorldSpace(CFrame.new(CurrentCamera.CFrame.Position))*CFrame.fromOrientation(Pitch,Yaw,Roll)
#camera has weird world space offset
1 messages · Page 1 of 1 (latest)