How do I keep track of momentum and preserve it?

So I’m making a parkour type game and I want to know how to track the characters momentum and preserve it if they detach after a swing for an example.

This is my current Swing script :

How should I go about it since if I just type self.Momentum = rootpart.Velocity after the impulse and apply another one in the Detach with self.Momentum it does nothing.

1 Like

Why is it not maintaining momentum? There’s only impulses acting on it right?

So it’s not like there isn’t any momentum but it doesn’t work the way I want it to. For an example there is this game Grappling Hook Obby - Roblox and it keeps the momentum nice and fluid but I don’t know how to achieve that.

1 Like

It might be because the rope is still there after you’ve applied the final impulse.

1 Like

It works but how could I keep track of the players velocity? Like a UI showing how much they have.

1 Like

What’s wrong with using the rootpart velocity?

2 Likes