so how can i get the instance name of the second object that has just enterd
the bounding radius of the first object?

On Mon, Jul 27, 2009 at 8:57 PM, Rob Bateman <[email protected]> wrote:

> also, don't forget the boundingRadius property of a 3d object. this will
> give you a value that is the minimum radius from the objects zero point that
> contains all geometry within. work with meshes, objectcontainers, loaded
> models etc.
>
> you also have dimension values of objects from the objectWidth,
> objectDepth, objectHeight getters. All these and the min/max values
> mentioned by Pete are updated automatically when the geometry is modified
>
> Rob
>
>
> On Mon, Jul 27, 2009 at 6: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
>>
>
>
>
> --
> Rob Bateman
> Flash Development & Consultancy
>
> [email protected]
> www.infiniteturtles.co.uk
> www.away3d.com
>

Reply via email to