My character is stuck midair


I have a problem where the enemy is dying midair

this is my components on the enemy

There’re a few things that can cause this;

  1. The model’s ‘origin’ is not at the bottom, so it’s lying at the origin but that’s a little off the ground.
  2. The animation has root motion that affects where the model ends up after the animation has played.
  3. The terrain changed after the navmesh was generated so the navmeshagent (which may still be active) is keeping the character on the navmesh, but the nevmesh doesn’t follow the terrain.

…and others I can’t think of right now

Privacy & Terms