Godot Steering AI Framework 1.0
The Godot Steering Toolkit is a framework to code complex and smooth AI movement in GDScript, using steering behaviors. It works in both 2D and 3D games.
It supports all the basic movements like flee, follow, look at, but also blended behaviors, group behaviors, avoiding neighbors, following a path, or following the leader.
It's inspired from LibGDX's excellent GDX-AI framework.
Features
This is the first release of the framework. It already with many features:
- All the essential steering behaviors:
Arrive
,AvoidCollisions
,Blend
,Cohesion
,Evade
,Face
,Flee
,FollowPath
,LookWhereYouGo
,MatchOrientation
,Priority
,Pursue
,Seek
,Separation
. - Group behaviors and detecting neighbors.
- Blending and prioritized behaviors.
- Specialized types to code agents based on physics bodies:
- For 2D games,
KinematicBody2DAgent
andRigidBody2DAgent
. - For 3D games,
KinematicBody3DAgent
andRigidBody3DAgent
.
- For 2D games,
- 9 Godot demos to learn straight from the code.
Getting Started
To get started, check out the framework's manual.
There, you can also find the full code reference.
Note: we generate the code reference from docstrings in the source code with GDScript Docs Maker.
There are many demos for you to play with and learn from in the project. We're also working on a more complete game, Harvester.
Contributing
If you encounter a bug or you have an idea to improve the tool, please open an issue.
Also, check out our contributor's guidelines
Support us
Our work on Free Software is sponsored by our Godot game creation courses. Consider getting one to support us!
If you like our work, please star the repository! This helps more people find it.