I want to make a simple 3rd person over-the-shoulder (I’ll call OTS) camera that’s like any common OTS shooters.
The problem is that only the orientation of the character lags behind the mouse.
Here’s what I mean:
To add on, it’s in a module script that is client side and here’s the code that I suspect it’s having an issue on:
RunS:BindToRenderStep(TemporaryCameraLock, Enum.RenderPriority.Camera.Value - 1, function() -- RunS = Run Service
local _, Y, _ = CC.CFrame:ToOrientation() -- CC = Current Camera
HRP.CFrame = CFrame.new(HRP.CFrame.p) * CFrame.Angles(0, Y, 0) -- HRP = Humanoid Root Part
end)