Extends: GSAIArrive < GSAISteeringBehavior
Produces a linear acceleration that moves the agent along the specified path.
Type | Name |
---|---|
GSAIPath | path |
float | path_offset |
bool | is_arrive_enabled |
float | prediction_time |
var path: GSAIPath
The path to follow and travel along.
var path_offset: float
The distance along the path to generate the next target position.
var is_arrive_enabled: bool
Whether to use GSAIArrive
behavior on an open path.
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.