Arrive Steering Behavior
Nature of Code Lesson #5.4
It’s finally time for me to tackle a JavaScript (p5.js) implementation of the “arrival” steering behavior from Craig Reynolds’ 1999 paper Steering Behaviors For Autonomous Characters!
Topics
- 0:00 - The moment you've been waiting for has arrived!
- 0:17 - Review! Seek, flee, pursue, and evade.
- 0:41 - Explain! What is the arrive behavior?
- 1:01 - Explain! How is arrive different from seek?
- 2:27 - Code! Creating the arrive method!
- 5:24 - I'll refactor this now! Better variable names.
- 6:04 - I'll refactor this now! Integrate arrive with the existing seek method.
- 8:14 - What's next?
Community Contributions
You can also add your own version! (See how)
Links discussed in this lesson
- Steering Behaviors For Autonomous Characters by Craig Reynolds