
please wait
trace("shape hit " + i++);
. What does the function trace do, as well? I'm very new to collision detection and only have the basics down.
|
|
If(shape1.hitTest(shape2)) {
the way that script is working it will hitTest shape2 as if it were 5 pixels to the right and 7 down. And why are you posting here instead of an actionscript forum?