Extends: GSAISteeringBehavior
Calculates an acceleration to make an agent intercept another based on the target agent’s movement.
Type | Name |
---|---|
GSAISteeringAgent | target |
float | predict_time_max |
var target: GSAISteeringAgent
The target agent that the behavior is trying to intercept.
var predict_time_max: float
The maximum amount of time in the future the behavior predicts the target’s location.