What is the exact difference between mc1.hitTest(mc2) and mc1.hitTest(mc2._x,mc2._y,true)
A:
1st one takes MovieClip as its single parameter, and the second one takes two Numbers and a Boolean.
fuck
2010-08-03 05:44:39
+1
A:
The first one just uses bounding rectangles to determine a hit, while the second, uses the shape/contour of an object to determine if the other is within (hits it) or not.
Regarding a way to 'detect a collision which will occur in the future', if the velocity of your object is constant, you should be able to.
Seb Lee-Delisle has two interesting posts on this:
HTH
George Profenza
2010-08-03 11:48:35