Danny, normally to work out distances between 2 objects I would use pythagoras theroem ie:
is this the best way to do this? Ie is it the fastest if I were to use this inside a function and use it throughout my movie?Code:distance = Math.sqrt((mc2._x - mc1._x)*2) + (mc2._y - mc1._y)*2));




Reply With Quote