AI Steering Behaviour Visualisation v7: Swarm Behaviour

preview_player
Показать описание
This engine aims to allow the user to visualise various AI behaviour types - how they interact with their environment, what is used in their "decision making", and to test adjustments to those AI in real-time.

This video demonstrates the addition of more-swarm like behaviour creatures (in yellow). The approach I've used to include different types of creatures with different AI "personalities" really paid off here - all that was required was setting up one new entity type, adding in the right set of behaviours, and tweaking the behaviour parameters to get the motion I was looking for. In fact, the motion here exceeded my expectations - it looks pretty cool!

These yellow fish have 5 behaviours set up: Seek other yellow fish, avoid green fish and the red shark, wander, and slow down. I scaled up the speed for this fish type too, and removed alignment,, so it acts in a more "swarmlike" manner.

This video follows one particular fish but maintains a fixed angle of perspective - which makes understanding of what is going on, on a group scale, much simpler.

The next updates will be (in no particular order):
- Addition of more behaviours (e.g. pursuit / evade, wall avoidance)
- The ability to turn on / off behaviours
- The ability to adjust the intensity of the various behaviours
- Ability to view the vantage point to different creatures
- And any others that you may have in mind! Please let me know!!


Hopefully this project will allow for the quick creation of multiple AI types by allowing live-editing of various parameters, and give a very deep sense into how the various AIs would respond to different stimuli.

Please let me know how if you have any suggestions on things to add!

Acknowledgements:


The ideas of using steering behaviours came about while reading Mat Buckland's book "Programming Game AI by Example", which has proved invaluable in building this visualisation.

Рекомендации по теме
visit shbcf.ru