When grabbing a player, I slow down?

Hey everyone!

I’m making a detain tool that has 2 types of grabbing, a cuff behind back and a choke hold animation. Problem is, in both animations the player slows down significantly in walkspeed. I know it’s because that the player they grab onto is inhibiting their ability to go forward more, at least I think?

How would I go about fixing this? I can’t change the can-collide features on the other player, as they just default back.

1 Like

It’s probably due to the mass of the dummy?

There is two things I would try.

  1. Set all of the dummy’s base parts descendants to massless.
  2. Create a collision group between the two players, and make it so they don’t collide with eachother.

Let me know if you need help doing these! But first, check out these:

https://developer.roblox.com/en-us/articles/Collision-Filtering

2 Likes

I mean, I would leave it to how it is because I don’t think you’re going to be walking normal speed holding a guy. Sorry if its irreverent

I agree with him, but you might want to be able to go a little faster or something, let it be in your control. (see my post above on how)

1 Like

It’s not meant to be realistic.

I’ll look into this right away!

1 Like

Some realism isn’t always bad, it was just a suggestion.

1 Like

Have you tried just setting the walkspeed faster? Instead of 16, when they player detains someone else, just make it 30.

This may work, but isn’t always reliable. It can be different speeds depending on the mass of the character, the collisions it’s creating and all that.

So turning it all massless did nothing, so I opted into collision groups. Thanks!

1 Like