Is there an easy way to make NPCs non-movable?

Hi, so I was thinking of adding animations for idle NPCs that the player can interact with. However, I realized players can push the NPCs out of their original position. Is there an easy way to negate this issue, something other than using CollisionGroups? Thanks.

1 Like

Welding the NPC to an anchored part will allow for the animation to play but will stop the NPC from moving.

4 Likes

Hey, so I tried your method but for some reason, the other limbs in the rig become erratically positioned. Hard to explain, but I would think when I welded the HumanoidRootPart to an anchored part; the whole rig would move. But, instead, the other limbs become distorted in terms of positioning. I can’t even explain this behavior…

any help appreciated, thanks.

1 Like

When anchoring didn’t work for me I just set the mass of the HRP to be really high.

2 Likes

Try using BodyPosition and BodyGyro to keep the NPC in place.

2 Likes

Anchor the HumanoidRootPart without the weld and it should work without any distortions.

3 Likes

Didn’t think about that. Will try that out!

1 Like