r/pythonarcade • • Aug 24 '19

Is there a simple destination-based movement?

Like if I have starting coordinates and destination coordinates, and I want my sprite to automatically stop at the destination without headaches.

3 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/jfincher42 Aug 26 '19

A good read is Fernando Bevilacqua's series on steering behaviours, if you want to get more of the theory behind it as well.

https://gamedevelopment.tutsplus.com/series/understanding-steering-behaviors--gamedev-12732