AgentHideFromTransform
Move the Agent to hide from the Target.
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 |
Obstacle Target Flags | Set which obstacle type to hide
|
Obstacle Search Flags | Set the obstacle search method
|
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 |