/GOAP

A multi-threaded GOAP system for Unity

Primary LanguageC#Apache License 2.0Apache-2.0

Discord Documentation openupm Asset Store CodeFactor test-status GitHub GitHub Repo stars GitHub forks

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.

Screenshot of Demo

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#2.1.22

Node Viewer

Visualize your GOAP nodes and their interactions with our intuitive Node Viewer.

Screenshot of NodeViewer

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.

References