Unity logo
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Behavior AI
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/4
CAP'N is a 3D pathfinding system using a GOAP algorithm
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2021.3.28f1
Compatible
Compatible
Compatible
Description

CAP'N is a 3D pathfinding system using a GOAP (Goal Oriented Action Planning) algorithm instead of more traditional A* pathfinding systems.


The system works by simulating steps into the future and predicting what would happen to the Agent using raycasts. At each step, the Agent will try and pick an action to maximize the value provided by the Agent's Goal and avoid colliding with the environment.


This system allows for customizable Goals and Agents. The Goals can be more flexible than a traditional A* pathfinding system, allowing for Goals like terrain following and waypoint orbiting, as well as more basic Goals like moving towards a position.


Using this system, many types of flying Agents can be implemented. The Agents will follow paths that respect their limitations, for example, their radius, acceleration, maximum speed, and climb rate. In the case of Agents such as airplanes, it's impossible for these Agents to travel below their stall speed, as this would result in them crashing. The system can plan paths for these Agents that stay above their stall speed. This behavior allows for very natural and realistic-looking navigation for flying Agents.


The system can be extended to add new types of Goals or Agents to match the needs of your project.


Excellent for Agents such as:

  • Rotary-wing aircraft (Helicopters, Quadcopter drones)
  • Fixed-wing aircraft (Airplanes)
  • Airships
  • Flying creatures
  • Underwater Agents (Fish, Submarines)
  • and more!

If you need support or would like to leave feedback, I can be contacted at thegreatoverlordofallcheese@gmail.com or on my Discord server.


Links:

Web Demo

Tutorials

Discord

Technical details

3D pathfinding using GOAP (Goal Oriented Action Planning)

Paths that respect the Agent's capabilities (Size, Acceleration, Maximum Speed)

Includes example AI units


Customizable Goals and Agents

Extendable to add new types of Goals and Agents

CAP'N - 3D Pathfinding using GOAP

(not enough ratings)
66 users have favourite this asset
(66)
$39.99
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
8.1 MB
Latest version
1.0.1
Latest release date
Oct 18, 2023
Original Unity version
2021.3.28
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR