u can use vec_dist(objct1,object2);

if you want to store the distance you could declare a var like

var object_distance;
object_distance=vec_dist(objct1,object2);

there might be an easier way but thats how i would do it

hope that helps


Last edited by badapple; 08/23/08 15:36.