WanderingNPC
This component is used to get NPCs to wander/move from one location to another.
Last updated
Was this helpful?
This component is used to get NPCs to wander/move from one location to another.
Last updated
Was this helpful?
set the custom starting position of the NPC
Sets the target positon of the NPC
sets the NPC to wander in random direction
Sets the maximum wandering distance
sets the rotation speed of the NPC
Sets the movement speed of the NPC
Start and Target position: Use this to set NPC to move to a custom location.
Wander: Check this to set the NPC to a wander randomly on are set by max distance.
Move Speed sets the movement speed of the NPC.
Refer to see how to create NPC, once created attach wandering NPCs component to move them from one location to another.