Awesome
GOAP for Unity
A robust, multi-threaded Goal Oriented Action Planning (GOAP) system designed for Unity, empowering developers to create complex AI behaviors with ease.
This library, a successor to the one used in Basher Beatdown, brings enhanced performance and flexibility to game AI development.
Key Features
- High Performance: Optimized for speed, leveraging Unity's job system for multi-threaded operations.
- User-Friendly: Simple setup process, with options for both
ScriptableObjects
and code-based configurations. - Visualization Tools: Includes a GOAP Visualizer for easy debugging and understanding AI decisions.
- Demo Scenes: Comes with two illustrative demo scenes showcasing the system's capabilities.
- Comprehensive Documentation: Detailed documentation for ease of use and integration.
- Compatibility: Built using Unity 2022.2, also confirmed to work seamlessly with Unity 2021.3.
- Tested and Proven: Rigorously tested to ensure reliability and performance.
Installation
Integrate GOAP into your Unity project using one of the following methods:
- Unity Package Manager: Add the package via the package manager using this URL:
https://github.com/crashkonijn/GOAP.git?path=/Package#3.0.27
-
OpenUPM: Install through OpenUPM.
-
Unity Asset Store: Available on the Unity Asset Store.
Node Viewer
Visualize your GOAP nodes and their interactions with our intuitive Node Viewer.
Documentation and Examples
- Documentation: Access comprehensive guides and API references in the
Package/Documentation
folder or visit goap.crashkonijn.com. - Demos: Explore practical implementations in the Demo folder. Simply clone this repository and open the Demo project in Unity to get started.
Sponsoring
If you'd like to sponsor the project, this can be done through my GitHub Sponsor page or by buying the Support Edition on the Unity Asset Store.
References
- YouTube tutorials on how to use the library.
- YouTube references discussing GOAP in general.
- YouTube mentions about this project.