My NPC won't move!

Hi

I mustbe missing something stupid, and I’m starting to get annoyed! I created a blueprint for NPCs (I actually modified the third person character template), and set it to move on begin play. I wait 1 second and then call AI MoveTo. It turns in the right direction, but doesn’t go anywhere, it says it’s blocked.

  • I made a new test level and an NPC with the mannequin, which seems to work.
  • I added a NavMeshBoundsVolume, definitely big enough.
  • I turned off collision on the NPCs mesh, so only the capsule collides (Pawn presets).
  • The navMesh agent has radius 40, height 200, and collision capsule has radius 34, half-height 88
  • I made sure “Can ever affect navigation” is unticked

I don’t know what else to try. I even tried to get an AI to explain what I might be missing! Can anyone tell me anything useful I might be doing wrong?

Hi, try using the “Visual Debugger” (Tools menu) - click on the NPC in the list and it will show you visual paths and any errors etc.

Hey. There can be much reasons you character not move. I try give mostly often:

You need give your actor bounds to move. Use NavMeshBoundsVolume.

Only Charater can move. If your NPC have class other than Character, he can’t move.

Learn how to use Beahavior Tree blueprint.

Good luck