Snayff / nqp3

1 stars 2 forks source link

Unit AI - Flocking #11

Open Snayff opened 1 year ago

Snayff commented 1 year ago

Suggested Feature

Feature to add Unit AI, creating a shared objective and behaviour for Actors. This should allow Units to act in a cohesive way, rather than a random bunch of unrelated Actors.

Requirements

Additional Context

None.

Resources

Example flocking approach: https://howtorts.github.io/2014/01/03/steering-flocking.html Pseudocode example: http://www.kfish.org/boids/pseudocode.html Info on moving in formations: https://github.com/libgdx/gdx-ai/wiki/Formation-Motion

Godot flocking code example (already in repo): https://github.com/Snayff/nqp3/tree/develop/_test/_test_boid

Partially implemented flocking by contributor Nero: nero unit pathfinding demo.zip