Original Post
Hi ya
Im having a problem with my collsion detection in my 2D space shooter. Im trying to do simple collsion detection. The game is based on asteroids so you get the idea of wht the game is like. I have made my asteroid very round to help me in my collsion detection. I was wondering if you let me know if this is right. What i do is get the length of the line between the bullet and asteroid using the equation -> length = the squareroot(x2-x1)squared * (y2-y1)squared -> and then if this length is smaller than the asteroids radius then theres collsion. Is this right. Any other suggestion. Thank you