How steering agents and behaviors work
masterThe framework uses two primary abstractions to manage movement:
- Steering Agent: Represents a character or vehicle. It maintains state such as position, orientation, maximum speeds, and current velocity.
- Steering Behavior: A logic component that calculates the necessary linear or angular change in velocity based on the agent's current information (e.g., fleeing, following, or looking at a target).
Because every class extends Godot's Reference type, you can manage AI logic entirely within GDScript classes without needing to build a complex scene tree for the AI calculations themselves.