Forum rules - please read before posting.

NPCs are not moving

Hey guys, I am new here, so I might have some stupid questions at first.

I am trying to make a NPC to move to a marker when I go through a hotspot.

I made an Action List:

The Character model has the Path and NPC scripts.

When I go thrrough the hotspot, the character starts the Run animation but not not moving through the scene:

I also tried to make a PATH but is not working

Comments

  • Welcome to the community, @rvl.

    Please post the AC and Unity version numbers, so that we know what you're working with.

    We'll also need more detail, as it could be one of several things - here are some questions to try to narrow it down:
    • Is your Pathfinding method in the Scene Manager set to Unity Navigation?
    • Do other characters (including your Player) pathfind around the scene (note that a Direct-controlled Player does not use pathfinding)?
    • Does your NPC have a walk speed value abve zero?
    • Does your NPCs walk animation make use of root motion?  If not, the "Root motion" checkbox in their Animator component must be unchecked.
  • Hey man,

    AC version (the last one, 1.56a), Unity: 5.4.1
    Is your Pathfinding method in the Scene Manager set to Unity Navigation?
    Yes

    Do other characters (including your Player) pathfind around the scene (note that a Direct-controlled Player does not use pathfinding)?
    Yes, my Player character is working fine. I am using the Point and Click system and not direct control. Also the MoveToMarker is working fine with the Player.

    Does your NPC have a walk speed value abve zero?
    Yes

    Does your NPCs walk animation make use of root motion?  If not, the "Root motion" checkbox in their Animator component must be unchecked.
    That was the issue. :D
    Thank you man
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.