I’d like to make the transition smoother and since this is in RenderStepped I can’t really tween it:
HumanoidRootPart:
HumanoidRootPart.CFrame = HumanoidRootPart.CFrame * CFrame.Angles(0, math.rad(-Input.Delta.X), 0)
Camera:
Camera.CFrame = CFrame.lookAt(CameraCF.Position, CameraDirection.Position)
Thanks!
CFrame:Lerp() may be helpful for what you are trying to achieve.
Yes that’s how you use linear interpolation with CFrame I’m asking how it should be done, using
Camera.CFrame = Camera.CFrame:Lerp(
CFrame.new(cameraCFrame.Position, cameraDirection.Position),
0.5
)
regularly, produces undesirable buggy results, hence why I’m asking how to do it correctly.