collision AWPBvhTriangleMeshShape and AWPBvhTriangleMeshShape

Software: Away3D 4.x

rom, Newbie
Posted: 17 November 2011 05:44 AM   Total Posts: 12

Why AWPRigidBody objects on the basis of AWPBvhTriangleMeshShape not react to collisions with other AWPRigidBody objects on the basis of AWPBvhTriangleMeshShape?

but each object is correct react to a collision with a AWPBoxShape

Sorry for bad English.

   

Somokon, Member
Posted: 17 November 2011 06:16 PM   Total Posts: 75   [ # 1 ]

BvhTriangleMeshShape is for static geometry only.  So objects can collide with it, but it will not react to collisions itself.

   

rom, Newbie
Posted: 17 November 2011 07:58 PM   Total Posts: 12   [ # 2 ]

well, then give me a hint how I can do what I want.

There are two simple model, it is necessary that they collided with one another.
each collision area is a simplified mesh object.

I do not seem to understand much, but
AWPDebugDraw.DBG_DrawCollisionShape shows how both areas pass through each other without colliding

   

Yang Li, Administrator
Posted: 18 November 2011 01:13 AM   Total Posts: 80   [ # 3 ]

if your model is convex polyhedron,  you can use AWPConvexHullShape.

   

rom, Newbie
Posted: 18 November 2011 06:14 AM   Total Posts: 12   [ # 4 ]

thanks a lot.
this is exactly what I needed

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X