Hi all!
If we wanted a sprite to shoot towards another/ spawn a projectile to spawn in the direction of another sprite do you guys have any idea how I could do that? I know it’s tricky as I’d need to calculate a velocity that goes at a set speed and in the required direction so I was just wondering if anyone was aware of a nice algorithm for that?
Thanks in advance for any suggestions