Why does my custom NPC slide on slopes?

I have made a custom NPC that does not contain a Humanoid and move by using :ApplyImpulse(). This works fine on flat ground but when they try to move up a wedge, they start sliding around and slide off the wedge.

Video where the NPC is a cube instead so it is easier to see that the NPC isn’t rotating to align with the wedge:

Does anyone know if this is a behaviour that is common among custom NPCs that don’t use Humanoids or am I just doing something wrong?

2 Likes

You could also try setting it’s density to a big number (like 100) if you have CustomPhysicalProperties enabled to stop sliding.

More on CustomPhysicalProperties: