Some help with lerp

in a loop a lerp some stuff, but the faster the alpha is the more choppy it is. how to fix

X is mouse delta.x
SwayDelta = SwayDelta:Lerp(CFrame.fromEulerAnglesXYZ(0, math.rad(X), 0), .5)
SwayDelta gets applied as an offset to the viewmodel every RenderStepped

low number in the vid below is .01


hih number in the vid below is .5

local ITS = .5
SwayDelta = SwayDelta:Lerp(CFrame.Angles(math.rad(dt.Y)*ITS, math.rad(dt.X)*ITS, -math.rad(dt.X)*(ITS)), .07)

tis was good enough for me

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