Posted By

allnatural on 03/30/09


distance Papervision3D papervision pv3d

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Papervision3D - distanceTo()

 / Published in: ActionScript 3


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.