i know it should be dead simple but can any1 tell me:
1. How can i detect if a object is inside a circle?
2. How can i move (shoot) a missile starting at XY with its destination to another (known) XY.
For example, a enemy object detects my playership, and shoots a bullet to the XY-position where my playership was detected.
Any1 have some example code?? TIA!
1. How can i detect if a object is inside a circle?
2. How can i move (shoot) a missile starting at XY with its destination to another (known) XY.
For example, a enemy object detects my playership, and shoots a bullet to the XY-position where my playership was detected.
Any1 have some example code?? TIA!