AgentMoveToRandomPosition

Random movement within a radius centered on a specified position.

AgentMoveToRandomPosition

Properties

Property Name Description
Agent Controller AgentController you want to control.
Finish Flags Finish flag
On Done
Finish the action when the Agent completes the move.
On Cant Move
Finish the action when the Agent cannot move.
Return Success On Cant Move
Returns the action as successful when the Agent could not be moved. If this flag is not set, it will be returned as a failure.
Stop On End Whether to stop at the end of the action
Clear Velocity On Stop Whether to clear velocity when stopped.
Update Type Agent update type.
Time
Update by time designation.
Done
Update when done。
Start Only
Update only at start
Always
Always updated
Time Type Interval time type.
Normal
Use time of current frame considering timeScale.
Unscaled
Use time of current frame without considering timeScale.
Realtime
Use realtime.
Fixed Time
Use the latest FixedUpdate start time considering the timeScale.
Fixed Unscaled Time
Use the latest FixedUpdate start time without considering timeScale.
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 Whether to make corrections by raycasting.
If true, move toward the wall without detouring the wall.
Stopping Distance Distance to stop
Center Type Center type of movement range
Initial Placement Position
Initial placement position of AgentController object
State Start Position
Position of AgentController object at the time of the state start
Transform
Transform
Custom
Custom
Center Transform Specifying the center transform (CenterType is Transform only)
Center Position Specify the center (CenterType is Custom only)