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 = Vector3.new(math.cos(currentTime * 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(CFrame.new(sway.x / 7 * multiplyWalkBobble, sway.y / 9 * multiplyWalkBobble, 0))
If anyone can give feedback or ways to improve this, I would very much appreciate it. Thanks!