Godot 3 Steering AI Framework
  • Godot Steering AI Framework
  • Installation
  • Getting Started
  • Code Reference
    • GSAIAgentLocation
    • GSAIArrive
    • GSAIFlee
    • GSAILookWhereYouGo
    • GSAIBlend
    • GSAIGroupBehavior
    • GSAIUtils
    • GSAIKinematicBody2DAgent
    • GSAIPriority
    • GSAIRadiusProximity
    • GSAIPursue
    • GSAIPath
    • GSAIAvoidCollisions
Powered by GitBook
On this page
  • Description
  • Functions
  • Method Descriptions
  1. Code Reference

GSAIAvoidCollisions

Extends: GSAIGroupBehavior < GSAISteeringBehavior

Description

Steers the agent to avoid obstacles in its path. Approximates obstacles as spheres.

Functions

Type
Name

bool

func _report_neighbor(neighbor: GSAISteeringAgent) -> bool

Method Descriptions

_report_neighbor (virtual)

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.

PreviousGSAIPath

Last updated 2 years ago