/ Published in: ActionScript 3

Check the distance between two objects in 3D space
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//returns the distance between the two objects. trace(myFirstObject.distanceTo(myOtherObject));
URL: http://www.madvertices.com/2008/10/distanceto-simple-but-nimble.html
Comments
