Steering behaviors
Related terms: seek, flee, arrive, pursue, obstacle avoidance, traffic simulation
Simple rules that produce lifelike movement by nudging a character's velocity every frame. Seek turns toward a target. Flee turns away. Arrive slows down on approach. Pursue aims at where the target will be.
Each rule outputs a small force. They are added up, capped and applied. No path is needed in open space. In corridors they are combined with pathfinding.
steering = desired velocity - current velocity
- Further reading
- Craig Reynolds: Steering Behaviors for Autonomous Characters