GSAIFollowPath

Extends: GSAIArrive

Description

Produces a linear acceleration that moves the agent along the specified path.

Properties

TypeName
GSAIPathpath
floatpath_offset
boolis_arrive_enabled
floatprediction_time

Methods

TypeName

Property Descriptions

path

var path: GSAIPath

The path to follow and travel along.

path_offset

var path_offset: float

The distance along the path to generate the next target position.

is_arrive_enabled

var is_arrive_enabled: bool

Whether to use GSAIArrive behavior on an open path.

prediction_time

var prediction_time: float

The amount of time in the future to predict the owning agent’s position along the path. Setting it to 0.0 will force non-predictive path following.