I think it is what i want I just cant get it to work.There is no
distance method but in the docs there is?
import flash.geom.Vector3D;
..
I couldnt find an example on google with 3 coordinates.(still trying)
p1=new Vector3D();
protected var model:Mesh;
protected var model2:Mesh;
..
model = new House3( 1);
..
if(p1.distance(model.position,model2.position) < 100)
{
//error Error #1069: Property distance not found on
flash.geom.Vector3D and there is no default value.
}
it wont return a number as I get an error