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/3
Documentation
Video

This package is a starter pack for getting your AI code off the ground. It includes some common behavior states, mechanisms for customizing how your actor transitions between states, and the timings in which it checks for state transition criteria.

Included AI Behaviors:

-Grazing: wanders in random directions and stops to look around at specified intervals

-Patrol: moves between defined waypoints in an endless loop

-Enemy Patrol: moves in a patrol, but when the player is perceived begins pursuit.

-Battle Behavior: pursues the player and attacks when within the defined distance.

Sensor system allows for AI state changes based on custom criteria, such as when a player enters a vision cone, comes into a certain range of the enemy, or when the player damages the enemy, and so on. Sensors are attached to the actor hierarchy either directly or on their own child objects and become triggered when their custom criteria are met. Those triggered sensors go into determining when to change AI states.

Starter AI Code

(5)
71 users have favourite this asset
(71)
$4.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
5.8 MB
Latest version
1.3
Latest release date
Nov 6, 2018
Original Unity version
5.4.0
Support
Visit site
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