AgentMoveToRandomPosition
Random movement within a radius centered on a specified position.
Properties
Property Name | Description |
---|---|
Agent Controller | AgentController you want to control. |
Stop On State End | Whether to stop when leaving the state. |
Clear Velocity On Stop | Whether to clear velocity when stopping |
Update Type | Agent update type.
|
Time Type | Interval time type.
|
Interval | Interval (seconds) before moving destination is changed. (Used only when UpdateType is Time, Done) The interval after arrival for AgentUpdateType.Done. |
Speed | Speed to move |
Radius | Moving radius |
Check Raycast | Set whether to perform correction by raycast If set to true, if there is a wall between the destination and the destination, move to the front of the wall without detouring. |
Stopping Distance | Distance to stop |
Center Type | Center type of movement range
|
Center Transform | Specifying the center transform (CenterType is Transform only) |
Center Position | Specify the center (CenterType is Custom only) |
Done | State transition at the time of movement completion Transition Method : OnStateUpdate |
Cant Move | State transition when the destination cannot be found and cannot be moved. Transition method: OnStateUpdate |