Extends: GSAIGroupBehavior < GSAISteeringBehavior
Steers the agent to avoid obstacles in its path. Approximates obstacles as spheres.
Type | Name |
---|---|
bool | func _report_neighbor(neighbor: GSAISteeringAgent) -> bool |
func _report_neighbor(neighbor: GSAISteeringAgent) -> bool
Callback for the proximity to call when finding neighbors. Keeps track of every neighbor
that was found but only keeps the one the owning agent will most likely collide with.