Extends: GSAISteeringBehavior
Calculates acceleration to take an agent to its target’s location. The calculation attempts to arrive with zero remaining velocity.
Type | Name |
---|---|
GSAIAgentLocation | target |
float | arrival_tolerance |
float | deceleration_radius |
float | time_to_reach |
var target: GSAIAgentLocation
Target agent to arrive to.
var arrival_tolerance: float
Distance from the target for the agent to be considered successfully arrived.
var deceleration_radius: float
Distance from the target for the agent to begin slowing down.
var time_to_reach: float
Represents the time it takes to change acceleration.