Steering Behaviors part 1

Steering behaviours

This project is an implementation of steering behaviours.( Invented by Craig W. Reynolds).
Steering behaviours are designed to help autonomous characters move in a realistic manner.
Each steering behavior has a simple goal, like avoiding obstacle or staying close from neighbours.
The combination of multiple steering behaviours results in more complex behaviours such as flocking or regimental organization.
The goal of this project is to explore these behaviours and make them into a small library.

1 Basic steering behavior :

1.1 Obstacle avoidance :

All agents run straight ahead, avoid obstacles and each other.

1.2 Seek and flee :

The monsters wander around until they find a bot, then they chase him.
Bots wander unless they are pursued, in which case they flee.

2 Combination of steering behaviour :

2.1 Flocking :

Flocking is a combination of these 3 behaviours:

  • Cohesion: each agent tries to get closer to his neighbors.
  • Separation: the opposite of cohesion, agents avoid being too close to each other.
  • Alignment: each agent tries to go in the same direction as their neighbors.

3 Swarming :

Swarming is not steering behaviour, it is a lighter behavior that allows simulating larger numbers of entities.
This technique is useful for simulating large groups of entities such as bee swarms.

4 Formations :

Sources :

Steering Behaviors :
https://www.red3d.com/cwr/steer/gdc99/
https://gamedevelopment.tutsplus.com/series/understanding-steering-behaviors--gamedev-12732
3D Characters and animations:
https://www.mixamo.com/


Kommentare: