PDA

View Full Version : Collison


Nibiru2012
03-03-2009, 08:22 AM
I need coding so that when an object jits another object the object it hits disapears/ or is removed. Please bare in mind one of them cannot have a instance name because it will be dupicated which as far as I know cannot have a instance name

kkbbcute
03-03-2009, 08:26 AM
Your duplicate will all be created with an instance name that you designate, for example, mc1, mc2, mc3 etc. And what type of hitTest would you prefer, point to point, bounding box to box, or point to object?

Nibiru2012
03-03-2009, 10:00 AM
could you take the file and fix it if i sent it to you

kkbbcute
03-03-2009, 11:35 AM
Sent it to me? How?

Anyway you still haven't told me which type of hitTest you would prefer...

cjx3711
03-03-2009, 12:18 PM
The hittest is entirely possible. You just need a for loop.

kkbbcute
03-03-2009, 12:37 PM
cjx3711: That's helpful *sarcasm*(Joking) The point is there are many different types of hitTesting that are suited for many different purposes, and we have no idea what he wants now.