[RELEASE]Basic Fish System Pro


Hello Unity/UnderIdeas Users!

This is a basic AI fish for an underwater environment.You can spawn how many fish you want. There is a tank with fish whitch have a destination and every each fish from this tank has a destination/position in the tank. (You can modify value in Unity’s inspector.)

Buy on the Asset Store:
https://assetstore.unity.com/packages/tools/ai/basic-fish-system-pro-108438

Current version: 1.1

Asset’s unity forum page:

https://forum.unity.com/threads/release-basic-fish-system-pro.531786/

Asset’s forum page:

http://www.underideas.com/?forum=basic-fish-system-pro

Manual:
https://www.docdroid.net/EmC79YE/fish-ai.pdf

Images:


Short video how the flock swimming:

Main features:
Version 1.0

— You can change dimension of fishes with a random value in a range.
— You can change your model of fish.
— This asset has fish scare system.
— You can change interior and exterior border of destinations and positions in tank.
— You can set the number of fishes and also you can change minimum distance between fishes’s position in main tank.
— Now you have possibility modify the time for regroup after scare.

Version 1.1(It’s finish, so I will upload in max 2 days.)
— Fixed frame-drop when fishes are scared.
— Increase performances.
— Clean Code -> commented all methodes what them do.
— Solve few bugs.
(Recommandation: Use 5-20 fishes per fish flock).

!!!You will find details about How to set-up the system in documentation.!!!

The frame-drop when the fishes are scared is because the function lookrotation send message to debug console, and we need to evitate it.

Ex:
Vector3 a = (Vector3) b – (Vector3) c;
Quatern targRot = new Quatern();
if (a != Vector3.zero)
targRot = Quatern.LookRotati(a);
transform.rotation = Quaternion.Sl…….;

This asset is good for a realistic underwater environment. You can change your model, its speed animation, d

I will update this system and topic. I wait your comments (and some ideas if you want to help me to improve). Best Regards!

May 13, 2018 – Pending Review Version 1.0
May 14, 2018 – Published Version 1.0

Jul 18, 2018 – Pending Review Version 1.1
Jul 19, 2018 – Published Version 1.1