Posted By

allnatural on 03/30/09


Tagged

distance Papervision3D papervision pv3d


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

davidino1978


Papervision3D - distanceTo()


 / Published in: ActionScript 3
 

URL: http://www.madvertices.com/2008/10/distanceto-simple-but-nimble.html

Check the distance between two objects in 3D space

  1. //returns the distance between the two objects.
  2. trace(myFirstObject.distanceTo(myOtherObject));

Report this snippet  

You need to login to post a comment.