AgentHideFromTransform

Move the Agent to hide from the Target.

AgentHideFromTransform

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
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
Obstacle Target Flags Set which obstacle type to hide
Nav Mesh Obstacle
TreatNavMeshObstacleas an obstacle
Nav Mesh Agent
TreatNavMeshAgentas an obstacle
Obstacle Search Flags Set the obstacle search method
Path
Calculate the movement route (high load)
Scan All
Scan all obstacles.
Obstacle Layer Obstacle layer
Min Distance To Target Minimum distance to the target. Obstacles closer than this distance are excluded from potential hiding places.
Target Transform of the object you want to hide
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