Game AI Labs
Five exercises covering a patrolling guard, A* pathfinding, steering behaviours, behaviour trees and goal-oriented action planning.
Steering Behaviours · Case study
A continuous movement exercise: agents share a target but should not collapse into the same point on the way there.
The scene spawns agent prefabs that move toward a target using steering forces. In contrast with the grid exercise, movement is a continuous response each frame, not traversal of a list of grid nodes.
Arrival adjusts the approach as an agent gets close to its goal. Separation pushes it away from nearby agents. The active movement blends weighted versions of those forces and caps steering force and speed.
The velocity gizmo shows the movement vector in the scene view, which helps distinguish a weak steering force from a speed cap or a competing behaviour.
References
A steering agent blends weighted arrival and separation, caps speed and force, and draws velocity for inspection.