distance is a native flash.geom.Vector3D method
check from both positions

Fabrice

On Apr 27, 2011, at 1:57 PM, andrew barry wrote:

> If I want to test a missile  (small long rectangle)hitting another
> object  what do I use?
> 
> I have looked at this but the object is a loaded 3D model (AS3 class
> from prefab3d) and doesnt havre a distanceTo property?
> 
> if(Object1.distanceTo(Object2.position)< 100){
> 

Reply via email to