PVector a = new PVector ( 100, 100 );
PVector b = new PVector ( 500, 500 );
I need to set a’s heading so that it lines up with b. I’ve been struggling with this for a few days: I tried using atan2 () but it kept giving me a 45 degree angle for some reason. Any ideas?
Yeah after 2 hours of scouring the old forums and Processing documentation I created this post, and I kid you not literally 5 minutes later on youtube the exact tutorial on steering by Daniel Shiffman popped up lol.