How to prevent characters from sliding on top of eachother

How do I prevent this from happening: https://gyazo.com/e7f947db0bac70aba4cc5423aa678349

Notice how the character keeps sliding ontop of the other character’s head in the gif? I would like to remove or stop this.

2 Likes

✓ Possible Solution


This is a common bug amongst Zombie AI. How we disable this is by disabling climbing but this can be changed whenever you’d like. I suggest disabling it when they’re in combat.

Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing, false)

Note:


If it’s not climbing then it’s auto jump.

Humanoid.AutoJumpEnabled = false

There’s also more you can disable, for more options type Enum.HumanoidStateType. and you’ll find more.

1 Like

Thanks i’ll try that out, what i’m trying to achieve is similar to this:

https://gyazo.com/845bf6d9bab69cb7533123d46a38db22

notice how in the gif, i’m walking into the character but i’m not walking ‘Over’ them or stepping on their head