One follower, one line segment. Again like Wanderer
I put the vehicle inside a PathFollower
.
Video Info
- coding train link: https://thecodingtrain.com/tracks/the-nature-of-code-2/noc/5-autonomous-agents/7-path-following
- video in playlist: https://www.youtube.com/watch?v=rlZYT-uvmGQ&list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM&index=44
- code: https://editor.p5js.org/codingtrain/sketches/dqM054vBV
Instructions
- "l" to start or stop the the running sketch