A simple way using distance would be

if(Object1.distanceTo(Object2.position)< 100){

This will test if your object is within a 100 unit radius to the other
object.

Then if you want to get more precise with shapes it gets more complex.

Hopefully this will work for you.

-Pete

On Wed, Jul 29, 2009 at 11:34 AM, Wenderson <[email protected]> wrote:

>
> Hi!
> How do "hitTestObject" with objects generated in away3D?




-- 
___________________

Actionscript 3.0 Flash 3D Graphics Engine

HTTP://AWAY3D.COM

Reply via email to