Search Unity

Boid Agents and Targets

Discussion in 'Entity Component System' started by unity_7UFP4-iCkwsgjg, Aug 9, 2019.

  1. unity_7UFP4-iCkwsgjg

    unity_7UFP4-iCkwsgjg

    Joined:
    Dec 13, 2017
    Posts:
    323
    i am making an underwater survival game with fish and sharks. I have the Boid system and the fish are flocking. Is their anyway to add more then one agent shark and more targets ?
     
  2. teeth2i4

    teeth2i4

    Joined:
    May 21, 2013
    Posts:
    9
    You should state what is stopping you from achieving your goals more specifically.
     
  3. unity_7UFP4-iCkwsgjg

    unity_7UFP4-iCkwsgjg

    Joined:
    Dec 13, 2017
    Posts:
    323
    ah right so every time i add a new agent with a shark and target child, the only one shark moves towards the flock. The other shark stays still. Also i cannot seem to find where to decrease the speed of the shark (Not fish).
     
  4. unity_7UFP4-iCkwsgjg

    unity_7UFP4-iCkwsgjg

    Joined:
    Dec 13, 2017
    Posts:
    323
    this is for the Entity Component System