Collision Detection

Hey

can anyone tell me how i can make a collision between a bullet, a club and a helmet.
i have the shooting in the bag but i need to know how i can do this.

when the bullet is shot if it hits the club i want the bullet to be destroyed.
if the bullet hits the helmet i need the game to go to the next scene.

thnx

There are TONS of these tutorials out there, and they can be found with very little searching (especially the keywords ‘collision detection’).

The easiest way with a bullet -> object collision is prolly to use coordinate based hitTest (where you give flash the coordinates of a point and have it check the existence of other movie clips at that point).

or with hitTest
or you could do it mathematically… which is a bit harder and uses trigonometry, i’ve been trying to learn this, but it’s hard because i’m only a sophomore in high school, and haven’t gotten that far in my math classes… a book that would explain how to do this is
"flash mx game design demystified"

*Originally posted by Yeldarb *
or with hitTest…

Originally posted by jingman
**use coordinate based hitTest **

:thumb: