Originally
posted by
Jim Sachs:
The key is to find some trick which will allow collision avoidance with a real-world CPU, without checking every possible trajectory of every point in the Universe against every other point.
Maybe instead of trying to avoid collisions you can just have the fish nip eachother when there is a collision and then turn away like real fish? Or instead of checking every point in the universe just create an invisible sphere around each fish and when they intersect have the fish change direction.