Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

[RELEASE]Basic Fish System Pro

Discussion in 'Assets and Asset Store' started by RanZy, May 16, 2018.

  1. RanZy

    RanZy

    Joined:
    Dec 28, 2014
    Posts:
    34
    Hello Unity Users!

    This is a basic AI fish for an underwater environment.You can spawn how many fish you want. (Here is a bug in this version when the fishes are scared. But I fixed the problem.) 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

    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 min distance between fishes's position in main tank.
    — You can modify the time for regroup after scare.

    Version 1.1(It's finish but I will upload in max 2 days.)
    — Fixed spike 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 spike 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
    May 14, 2018 - Published
     
    Last edited: Jul 18, 2018
  2. DrOcto

    DrOcto

    Joined:
    Sep 15, 2017
    Posts:
    79
    Hi, any video of you fish system? How to setup and how the fishes swim.
     
    RanZy likes this.
  3. RanZy

    RanZy

    Joined:
    Dec 28, 2014
    Posts:
    34
    Hello DrOcto, I will come with a video with how to setup the system and how it works. Thank you for your comment! I will post also the upgrade to 1.1 version.
     
    DrOcto likes this.
  4. RanZy

    RanZy

    Joined:
    Dec 28, 2014
    Posts:
    34
    UP. This asset is live here ---> https://assetstore.unity.com/packages/tools/ai/basic-fish-system-pro-108438
    I will release 1.1 this days (is in review pending). The UPGRADE will be free for all clients which have the asset.

    Short video how the flock swimming:




    HOW IT WORKS?


    You need to add main tank in scene (GO TO Fish_AI->Prefab->FishTankGO(This you need to use - Add in scene).prefab), set the values(if you want like this picture or other values) and the system will spawn automatically your fishes.(You can modify amount of fish there at “Count Fish”).



    You will find all of it in 1.1 version system's documentation.
     
  5. RanZy

    RanZy

    Joined:
    Dec 28, 2014
    Posts:
    34
  6. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    25,115
    RanZy likes this.
  7. RanZy

    RanZy

    Joined:
    Dec 28, 2014
    Posts:
    34
  8. Flurgle

    Flurgle

    Joined:
    May 16, 2016
    Posts:
    356
    @RanZy Did you read what Hippo said?
     
    RanZy likes this.
  9. RanZy

    RanZy

    Joined:
    Dec 28, 2014
    Posts:
    34
    Yes, I updated this thread with the website posting news. All the best!