Skip to content

DRossen/Steering-Behaviors

Repository files navigation

Steering-Behaviors

C++ 2D implementation of Craig Reynolds steering behaviors found in Artificial Intelligence for Games (Third Edition).

Note: This repo does not showcase any examples of how the steerings can be used within a movement controller as of now.

Features

  • Polymorphism based implementations.
  • Steering behaviors - ISteering(base class), Align, Cohesion, Separation, Face, Wander, Arrive.
  • Kinematic class.
  • SteeringOutput - Linear and angular.

Example video

Flocking behavior achieved by combining Align, Cohesion and Separation steering.

Editing vision cones and detection radius of each steering behavior

Adjusting Separation to get a wider spread

About

Implementation of Steering Behaviors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors