CFrame:Lerp is going over goal?

Hey this worked!
Thank you genuinely, we probably would’ve been here all day without your solution

Weird thing is, putting it in with the values in your version made things tilt backwards
So I just adjusted as needed

LeftMax = CFrame.Angles(0, 0, math.rad(-5))
RightMax = CFrame.Angles(0, 0, math.rad(5))

(also had to tweak the alpha of the lerps much higher to 0.5)

1 Like

Tried using your interval now and makes everything much smoother, thanks!
Just only problem left is how im determining if player is moving left or right (“Tilt” variable) but i probably need to add some limits here and there

I am tilting a Viewmodel that is constantly moved infront of the players camera, not the player theirself (shown below)
But thank you for this solution as well, I’ll keep it in mind :smile:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.