How can I give this ADS (Aim Down Sights) CFrame more life?

I am trying to make this Aim Down Sights look more interesting.

The issue is that this looks too linear.

I have tried making this look better by adding more CFrames. However, I have learned that this is not the best way of achieving this goal.

Basically, the Aim Down Sights CFrame looks really linear and slow.


Module Script Code (This all works)


if aiming then
			adsCFrame.Value = adsCFrame.Value:Lerp(aimCFrame, .15)
			self.weaponModule.Spread = self.weaponModule.AimSpread
			swayMult = 0.03
		else
			adsCFrame.Value = adsCFrame.Value:Lerp(CFrame.new(), .1)
			self.weaponModule.Spread = self.weaponModule.RegSpread
			swayMult = 1.15
		end

end

Video on my current ADS

https://streamable.com/axiei8

Remember that Lerp is actually linear interpolation. You should consider about sines to move it more smoothly. They talked about using springs during RDC '20 in a session about powerful code patterns and I think that solution applies to your case?

2 Likes

I can’t believe I forgot what Lerp() does. :man_facepalming: Thank you.