How do I disable rebound physics for players?

Hello everyone,

I’m trying to create a dashing system. However, whenever the player dashes into an anchored part, they occasionally get flung up into the air. See attached video for more information.

I’ve already tried setting elasticity to 0, and elasticity weight to 100. I’ve also set the same thing for all parts in the game. I’ve also disabled humanoid states that might affect the issue, such as Ragdoll. At this point, I’ve no idea how to go about fixing this. Any help would be appreciated.

Also, in case this may be useful to know, I’m using linear velocity for the dashing part.

Here’s a video showing in more detail what my problem is:

External Media
3 Likes

just set thier velocity after the dash to 0!
I suggest using the HumanoidRootPart.Velocity !

hope it helps!

1 Like

Thank you for responding!

The problem with this is that the flinging can happen before the dash ends

Luckily, I managed to solve this by setting the AssemblyLinearVelocity to be always negative whenever dashing, and with a clamped magnitude. It doesn’t solve the underlying problem, but it works good enough for me.

4 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.