Unity FAI-Fish AI and Flocks V1.0.0 – Underwater Fish Flock Behavior Animation System
Overview
Key features
Navigation: a written-from-zero navigation system for smooth movement. Smooth steering. Obstacle avoidance. Move only when inside water volume.
Vitals: damaging. Health. Health regeneration. Resistance. Body decomposition. Supports ragdoll. Play sounds on death.
Flock system: complex flocking behaviour based on 4 simple behaviours (Align, Separate, Cohere, and Follow). Obstacle avoidance. Water surface contact avoidance. Health. Body decomposition. Spawning. Optimizations: 80 percent of the processing runs on the GPU (4 main behaviours), while 20 percent runs on the CPU (obstacle avoidance) for best performance. A simple shader to procedurally animate the movement of fish.
Editor: easy-to-use editor windows to help you create AIs and flock units in minutes.
Demo: a simple script to control some of the demo scenes properties (spawned flocks counts, camera movement speed).
Included content
Compatibility
Unity 2020.3.41f1: Built-in supported; URP supported; HDRP supported.
Currently works on all render pipelines but the fish animation shader is not supported on HDRP and URP. The Unity Standard Assets package can be deleted to use the asset in a URP or HDRP project.
Requirements
Render pipeline compatibility
| Unity | Built-in | URP | HDRP |
|---|---|---|---|
| 2020.3.41f1 |
Technical specifications
- Original creator
- Kobras Games
- Current official version
- 1.0.0
- Supported engines
- 2020.3.41, 2020.3.41f1
- Render pipelines
- 2020.3.41f1 · URP / HDRP / Built-in
- Official file size
- 100.07 MB
- Official update date
- 2022-11-17
- Asset file count
- 206
- Package format
- unitypackage
- First official release
- 2022-11-17
Tags
Full description
FAI contains a system that can be used to simulate a broad underwater ecosystem (salmons, sharks, whales...) and a powerful and deeply-optimized flocking system that can run +20,000 units at the same time at +100 FPS. For more information please check the "Technical details" section. Models, materials, and animations are from "Underwater life deluxe" asset by Janpec.
Features of the AI system: Main An all-in-one script contains 4 behaviours and many features to control AIs. 4 main behaviours (Aggressive, Neutral, Passive, Passive Flee) Flee or keep attacking on low health. Wandering. Attack other entities. Recognize and don't attack or flee from entities of the same type. Forget the enemy once far enough and after a set number of seconds. Damage enemies either from script or animation event. Attack chance. Field Of View and Line of Sight enemy detection. Attack and movement animations blending. Sounds for different AI states. Optimized to only work once visible on a camera. Assign event listeners with no coding required. Field of view visualization in editor. Spawning.
Navigation A written-from-zero navigation system for smooth movement. Smooth steering. Obstacle avoidance. Move only when inside water volume.
Vitals Damaging. Health. Health regeneration. Resistance. Body decomposition. Supports ragdoll. Play sounds on death.
Features of the Flock system: Complex flocking behaviour based on 4 simple behaviours (Align, Separate, Cohere, and Follow). Obstacle Avoidance. Water surface contact avoidance. Health Body decomposition. Spawning. Optimizations. 80% of the processing runs on the GPU (4 main behaviours), while 20% runs on the CPU (Obstacle avoidance) for best performance. A simple shader to procedurally animate the movement of fish.
Editor Extremely easy-to-use and well-designed editor windows to help you create AIs and flock units in minutes.
Demo A simple script to control some of the demo scenes' properties (Spawned flocks counts, camera movement speed...) 3 modelled, animated, ready-to-use AIs: Whale (Neutral), Shark (Aggressive), and Mahi Mahi (Passive Flee). 2 ready-to-use Flock Units: Mackerel and Emperor Angelfish. 1 Demo scene for AIs. 1 Demo scene for Flock Units. A water enter/exit script controller to create the underwater illusion. A over/under water based audio system (Head fish sound only when the camera is underwater).
Dependencies Post Processing Stack
Top priority planned features: Fixed Flock Group Count, Fixed Frame Rate Update (Optimization), and Flocks Attacking/Fleeing AIs.
Currently works on all render pipelines but the fish animation shader isn't supported on HDRP/URP, however it be added in the coming updates (And also the Unity Standard Assets package, just delete it and use the asset in your URP/HDRP project, it will work fine)
Ratings and reviews
You can rate and review this item after purchase.
No buyer reviews yet.