NPC clips half-way into the floor and plays glitched animation

For some strange reason, my enemy NPC clips through the floor and plays strange animations that barely looks similar to the one I coded to give it to them, and out right looks weird… I have no idea what is going on

https://gyazo.com/ba4faf5f2efc0ad5b014495e173b9519

1 Like

Well maybe check the position of the enemy spawner, or on spawn set his position upwards.

This looks like an issue with a humanoid property called “HipHeight”. To calculate proper HipHeight for your character, use the following code:

For R15 Humanoids:
local Height = (0.5 * RootPart.Size.Y) + HipHeight

For R6 Humanoids:
Height = LeftLeg.Size.Y + (0.5 * RootPart.Size.Y) + HipHeight

6 Likes