Totally stuck i'v tried with a simple plane and a cube and nothing
happens with
if (plane.distanceTo(cube) <= 10)
{
trace("Timer is Triggered");
}
Any ideas or suggestions please..
On Jan 19, 10:00 pm, amigo <[email protected]> wrote:
> I just one a simple one for the car crossing the line(plane) in my
> little car racing demo.
> I´ve tried the one above but i don´t know why doesn´t work.
>
> Thanks Fabrice..
>
> On Jan 19, 9:50 pm, Fabrice3D <[email protected]> wrote:
>
> > Several easy and more complicated ways to check collisions are available
> > since v1... some came later.
> > Some can be done with flash.geom classes. All depends what you want to
> > achieve.
> > 3.6 doesn't add new ways compaired to previous version.
>
> > Fabrice
>
> > On Jan 19, 2011, at 10:18 PM, amigo wrote:
>
> > > Hi again..
>
> > > There is an easy way for collision detection in away3d 3.5.. or should
> > > i move to 3.6
>
> > > thanks in advance
>
>