Problems with skinned mesh NPCs not going up stairs

We are implementing some custom skinned mesh NPCs in our game, which have a single mesh, not individual mesh parts for legs, arms, etc. but they do have bones and can be animated using the Roblox Animation Editor plugin.

The problem is that they won’t go up stairs without “help” (being pushed or climbing on a player). The nav mesh indicates that the NPC should go up the stairs with no problem. We’ve tried standard NPCs like the zombie or skinned mesh NPC from the Roblox demo. Those go up stairs with no issues. We’ve even tried making the stair steps shorter. The NPCs won’t go up unless there is a wedge covering the steps.

Here is what it looks like:
https://gyazo.com/1532b6dcd91e2e910dd7b48727010ce9

These NPCs use Humanoids, and have a HumanoidRootPart welded to them which was required to use the Humanoid.MoveTo() functionality and pathfinding. The animation of the NPCs works… they walk, idle, etc. and they can jump up on top of players. They just can’t seem to go up stairs.

Here is the structure of the model:
image

Has anyone had a similar issue, and if so, how did you fix it?
Thanks!

2 Likes

Are the meshes non-collidable?

I would do that, and only rely on the HumanoidRootPart for collisions. Then, you can adjust the humanoid’s HipHeight so its feet align to the ground properly.

8 Likes

YES! Thank you!
Turning off collisions helped a lot, and once I got the hipheight set perfectly, he had no issues with the stairs and even was jumping over a big gap he could jump over before.

Thanks again!

3 Likes