How to create a smooth vaulting system?

I’m currently working on a vaulting mechanic in my game. However, an issue I’ve run in to is that my vaulting feels more like just jumping over an object.

How can I make a smooth vaulting system that makes the character dynamically vault over objects in a smooth manner? (rather than doing what I currently have):

local Vel = Instance.new("BodyVelocity")
Vel.Parent = HumanoidRootPart
Vel.Velocity = Vector3.new(0,0,0)
Vel.MaxForce = Vector3.new(1,1,1) * math.huge
Vel.Velocity = HumanoidRootPart.CFrame.LookVector * 15 + Vector3.new(0,25,0) 
wait(0.15)
Vel:Destroy()

Thanks! :slight_smile:

If you’re having problems w it being smooth, maybe in another place / test place try experimenting with CFrames to try to make it appear more smooth.

Since you mentioned that you thought your vaulting system was more like a “jumping over system”, you could probably try changing the orientation a little as the player is vaulting to make it seem more realistic imo. You could also add an animation where the player’s hands grip onto whatever surface they’re vaulting / hurdling over

1 Like