Issue with player sliding on stationary parts

Hello, so I’m having a problem with characters getting velocity from stationary parts that have velocity applied to them. We know that when you give velocity to parts that are stationary they act as conveyors and will slide anything on them, but is there a way to not apply velocity to characters if they are on the parts?

I don’t want players to slide off buildings because that happens pretty often and it’s kind of annoying for the player to fall down or get moved by it.

Here’s some footage of it happening so you can better understand what I’m saying:

I don’t know any solution to it at the moment so if you have anything that could help me I’d greatly appreciate it. :slightly_smiling_face:

1 Like

Have you tried using some sort of BodyMover like LinearForce to move the parts?

1 Like

Doing that causes a high amount of lag, as of now I’m directly applying velocity to the parts.

Maybe try adding a part to the characters that has alot of mass, and making it invisible?

1 Like

If they fall down it will accelerate them obnoxiously downwards which isn’t the wanted behavior. That wouldn’t really work.

You could add a raycast check every second or less to check if they are in freefall, and then just disable the mass of the part.

There is probably another better method though, but it would be pretty complicated.

1 Like