I have a following scenario: I am working on a game where there is a plain an on it a road like in Formula 1 race maps. I have an object that drives the road in 3d view and it has to collect different items on its way .Now the problem is that I must get an ID of the object I am colliding with in order to remove them . These object are being created at random and I have no possibility to check the range to them as you suggested because of this .
On Mon, Jul 27, 2009 at 8:36 PM, Peter Kapelyan <[email protected]> wrote: > You can do a basic > > if(object1.distanceTo(object2.position)<100){ > > Which will give you a "ball" type collision, or you can use the objects > .minX,.maxX to do a "box" type coliiion, although the box isn't rotated or > aligned to the object. > > Let me know if it makes sense > -Pete > > > On Mon, Jul 27, 2009 at 1:28 PM, SasMaster <[email protected]> wrote: > >> >> Is there a way to check for collisions between 3d objects in away3d >> without using physics engines.? I need only to check for the collision >> but not to have full physics behaviors like encounters and bouncing >> that I have in phys engines if I get collisions. > > > > > -- > ___________________ > > Actionscript 3.0 Flash 3D Graphics Engine > > HTTP://AWAY3D.COM >
