# WanderingNPC

<div align="left"><figure><img src="https://wiki.sine.space/images/thumb/d/d8/Wandering_NPC.jpg/400px-Wandering_NPC.jpg" alt=""><figcaption></figcaption></figure></div>

## Fields

#### Start Position

set the custom starting position of the NPC

#### Target Position

Sets the target positon of the NPC

#### Wander

sets the NPC to wander in random direction

#### Max Wander Distance

Sets the maximum wandering distance

#### Rotation SpeedRotation Speed

sets the rotation speed of the NPC

#### Move Speed

Sets the movement speed of the NPC

## Usage

Refer [Statue](https://wiki.sine.space/index.php?title=Components/Statue) to see how to create NPC, once created attach wandering NPCs component to move them from one location to another.

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.
