# 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

| Type              | Name                 |
| ----------------- | -------------------- |
| GSAIAgentLocation | target               |
| float             | arrival\_tolerance   |
| float             | deceleration\_radius |
| float             | time\_to\_reach      |

### Property Descriptions

#### target

```gdscript
var target: GSAIAgentLocation
```

Target agent to arrive to.

#### arrival\_tolerance

```gdscript
var arrival_tolerance: float
```

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

#### deceleration\_radius

```gdscript
var deceleration_radius: float
```

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

#### time\_to\_reach

```gdscript
var time_to_reach: float
```

Represents the time it takes to change acceleration.
