Multi-thread problem

pkk007
Posts: 2
Joined: Fri Aug 10, 2012 10:13 am

Multi-thread problem

Post by pkk007 »

I am using bullet for doing some self-assembly simulation like this: http://www.youtube.com/watch?v=Ck0XWHSz1g4&feature=plcp

Beacuse there will be a large number of objects in this simulation. So I am trying to use multi threading which make it more efficient.
I changed the program based on BulletMultiThreaded demo. However, I found that when I rotate the plate, the tiles wil drop through the plate. Then I change the velocity to a very low value. The tiles still slightly embed into the
plate. (The plate is a kinematic Compound, I rotate it by changing the MotionState).

There is no problem in non-parallel version.

Many thanks.