Posted: Sat Jun 07, 2008 9:51 am Post subject: Question on collision detection
I have a game where the user controls a spaceship (picture) and if any asteroids hit the spaceship than there is a collision. My question is what type of collision detection method should I use for a pic and an oval?
Sponsor Sponsor
Insectoid
Posted: Sun Jun 08, 2008 9:30 am Post subject: RE:Question on collision detection
Posted: Mon Jun 09, 2008 9:29 am Post subject: Re: Question on collision detection
If you want use rectangular collision detection if your spaceship is closer to a rectangular shape. But there are more values to taek into account such as the height and width which must be added to the x and y coords to simluate the ship.
Think about it, circular is probably the easiest, but if your ship is rectangualr then the above collision detection would be most accurate.
dehu87
Posted: Mon Jun 09, 2008 10:42 pm Post subject: Re: RE:Question on collision detection