0
Answered

walk around and face to target

mo D 3 months ago in Behavior updated by khuongduy4693 1 month ago 2

Hello,

I'm using bahavior module making an NPC. 

How can I make the npc walks around and face to the target?

Like the NPC can lock on a target

Thank you

Unity version:
latest
Game Creator version:
latest
Answered

To walk close to the Player you can use the "Follow Character" action. If you also want this character to look at the player, you can use the "Change Direction" action and set it to face the Player.

How can we make enemies surround player instead of all follow in one facing direction and crowd to player?