I want to recreate the “overshoot” effect in the game HELLMET. It’s clear that it uses a bounding box (as shown in the video), but it makes it look a lot more smoother than simply ONLY having a bounding box. How can I re-create this effect? I’ve tried using springs, but I don’t think that’s the solution. (Correct me if I’m wrong).
Also, I’m not sure how to add this effect on top of an already moving viewmodel. The magnitude of the overshoot seems proportional to the speed of how fast the mouse is moving. Here is what I use to move the viewmodel:
gunYawOffset = math.clamp(gunYawOffset, MIN_YAW, MAX_YAW)
gunPitchOffset = math.clamp(gunPitchOffset, MIN_PITCH, MAX_PITCH)
local freeAimRotation = CFrame.Angles(gunPitchOffset, gunYawOffset, 0)
viewmodel:PivotTo(head.CFrame * freeAimRotation * VIEWMODEL_OFFSET)