Get colliding shape from AWPCompoundShape

Software: Away3D 4.x

62316e, Newbie
Posted: 24 May 2013 12:32 PM   Total Posts: 25

Hi,

I have 2 AWPCompoundShape with 10 child BoxShapes.

It is possible to know from AWPEvent.COLLISION_ADDED event which exactly child Shape has collided?

   

John Brookes, Moderator
Posted: 25 May 2013 08:51 AM   Total Posts: 732   [ # 1 ]

Dont think there is an easy way in AwayPhysics although it can be done in Bullet.

Could try this
https://gist.github.com/JohnBrookes/6ceaa634c1afafce15ac

   

62316e, Newbie
Posted: 25 May 2013 09:06 AM   Total Posts: 25   [ # 2 ]

Not bed!
Ty

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X