Process

Steering

You might say: steering behaviours, local movement, obstacle avoidance

Reactive movement forces that turn a route or goal into velocity while handling local obstacles and nearby agents.

What it does
Bridges global route planning and locomotion with seek, arrive, separation, avoidance and other local behaviours.
Ask
What should the unit do this instant when its route, momentum and nearby bodies disagree?
Trouble
The unit overshoots, oscillates near a goal, collides with a nearby obstacle, or follows a route while ignoring its body.

What to look for

  1. A desired-velocity arrow beside the current-velocity arrow
  2. Units slowing as they approach a destination
  3. A local sidestep around an obstacle without replanning the whole route

Sources

  1. Craig W. Reynolds, Steering Behaviors For Autonomous Characters, AbstractThese "steering behaviors" are largely independent of the particulars of the character’s means of locomotion.
  2. Craig W. Reynolds, Steering Behaviors For Autonomous Characters, Steering BehaviorsArrival behavior is identical to seek while the character is far from its target. But instead of moving through the target at full speed, this behavior causes the character to slow down as it approaches the target

Use it on your project

teardown-apply: hold "Steering" (steering) from the teardown at https://teardownatlas.com/game-ai/ against my project

Paste it into a coding agent that has the teardown skills.

An AI agent wrote this map with the teardown skill. It can contain errors: check the sources before you rely on a part. About and legal