Advertisement

2D Shooting

Started by May 13, 2002 04:03 PM
0 comments, last by Haydel 22 years, 9 months ago
I''m not moving at (x1,y1). I have a target at (x2,y2) that is moving at (S) speed in (D) direction (in radians). My bullet speed is 600 pixels per second. At what angle should I shoot to hit the target? Looking at your screen: Right is 0 radians Bottom is PI/2 radians Left is PI radians Top is 3PI/2 radians Thanks ______________________ Haydel
______________________Haydel
look at these 2 forum threads. should have everything you need:

http://gamedev.net/community/forums/topic.asp?topic_id=85579

http://gamedev.net/community/forums/topic.asp?topic_id=88047

-me

This topic is closed to new replies.

Advertisement