First Actor to collide Question...
Hey all,
I know the title isn't exactly descriptive but I had no clue how to sum it up! Basically I have an actor and I want to determine which of two actors collide with it first any suggestions?
Cheers.
I know the title isn't exactly descriptive but I had no clue how to sum it up! Basically I have an actor and I want to determine which of two actors collide with it first any suggestions?
Cheers.
Comments
if movingactor1 collides with actor change color to red
if movingactor2 collides with actor change color to blue
So then you know which one hit your actor first by which color it flashes.
or the better one above my post ha ha
Granted were talking Fractions of a second here.
Cheers.
Maybe i'm not understanding what you are wanting
Do you mean you have 3 actors. actor1 is getting hit by actor 2 or actor3? and you want to know if actor 2 or 3 hit actor 1 first?
For that I would do an integer attribute and set it to 0
Then I would have in actor 1
If overlap/collide with actor2
and game.Collidenumber = 0
--Change game.collidenumber to 2
Otherwise
--If overlap/collide with actor3
and game.Collidenumber = 0
----Change game.collidenumber to 3
Cheers.
___________________________________________________________________________________
TEMPLATES AND PROJECT HELP BY TENRDRMER. CLICK HERE!!!
AppSolute Entertainment on Facebook
AppSolute Entertainment on iTunes