GSAIArrive

Extends: GSAISteeringBehavior

Description

Calculates acceleration to take an agent to its target’s location. The calculation attempts to arrive with zero remaining velocity.

Properties

TypeName
GSAIAgentLocationtarget
floatarrival_tolerance
floatdeceleration_radius
floattime_to_reach

Property Descriptions

target

var target: GSAIAgentLocation

Target agent to arrive to.

arrival_tolerance

var arrival_tolerance: float

Distance from the target for the agent to be considered successfully arrived.

deceleration_radius

var deceleration_radius: float

Distance from the target for the agent to begin slowing down.

time_to_reach

var time_to_reach: float

Represents the time it takes to change acceleration.