Here is short movie showing current progress of the game. You can see fishes for example, how they know where to swim ? It’s possible to make environment collision sensor but common solution in the gamedev world in this situation is navigation graph. Games are always cheating, don’t trust them ๐ Game needs to convince player that something looks natural but hidden method is always something easy to use/easy to compute. Fishes also trying to not to swim too close to each other, but not to far ! Sheep also using same herd algorithm included in the Crystal Entity Layer.
Movie:
Apricot: Crystal Space GamePlay (July 2008) from Pablo Vazquez on Vimeo.