Gun bobble feedback


I’ve been working on this framework for a while now, the thing I’m mostly stuck is bobble patterns.
I’m not really satisfied with the current bobbing pattern. The spring is fine, I’m looking for a better bobbing ‘pattern’, if that make sense.

What I currently have:


	local velocity = player.Character.HumanoidRootPart.Velocity
	local movementSway = * 10) * 0.6, math.abs(math.sin(currentTime * 10) * 0.6), 0)
	self.SPRINGS.SWAY:shove((movementSway / 25) * velocity.Magnitude)
	local sway = self.SPRINGS.SWAY:update(deltaTime)
	viewmodel.HumanoidRootPart.CFrame = viewmodel.HumanoidRootPart.CFrame:ToWorldSpace( / 7 * multiplyWalkBobble, sway.y / 9 * multiplyWalkBobble, 0))

If anyone can give feedback or ways to improve this, I would very much appreciate it. Thanks!

Maybe try like a camera shaking movement? Like the ones you’ve seen in those YT videos.

I already tried doing that but since the value goes to negative on the right side bounce (if that make sense), I can’t do that because the camera rotation will do a roll. Hopefully that makes sense


Try some lissajous equatiuons