AWPBvhTriangleMeshShape and forces/impulses

Software: Away3D 4.x

Cotozabron, Newbie
Posted: 30 March 2012 05:28 AM   Total Posts: 2

Hi,

I’ve been struggling with applying impulses to loaded meshes from 3ds file, but had no luck. I guess I am doing something wrong so hoping to get some support from community smile

I’ve got a 3ds model with 10 meshes, I take 2 of them, create AWPBvhTriangleMeshShape from each of them and add to AWPCompoundShape. Then I add Meshes themselves to ObjectContainer3D and tight this all together:

_body = new AWPRigidBody(compoundShapeobj3dInstance0); 

(P

Afterwards, I apply different kind of impulses to _body, but with no success

_body.applyCentralImpulse(new Vector3D(1001); 

My 3ds model is a complex scene with 10 meshes, each of them consisting of several submeshes.

   

Yang Li, Administrator
Posted: 30 March 2012 11:50 PM   Total Posts: 80   [ # 1 ]

AWPBvhTriangleMeshShape is a static object, you can’t apply force or impulses to it.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X