[C# ver] One box falls normally. Two boxes repel?
Posted: Thu Jun 28, 2007 2:33 pm
Hello,
I have set up an extremely simple example trying to learn Bullet. If I add one RigidBody, it slowly falls correctly due to gravity. However, if I add a second static box below it, the first one now start flying up and spinning out of control.
Maybe related, even when I add one, its MotionState.GraphicsWorldTransform is always messed up, and I have to use the RigidBody's WorldTransform. But again, after I add a second rigid body, even it goes nuts.
Would there be any reason adding a second rigid body would cause force onto another without ever touching each other?
Thanks!
I have set up an extremely simple example trying to learn Bullet. If I add one RigidBody, it slowly falls correctly due to gravity. However, if I add a second static box below it, the first one now start flying up and spinning out of control.
Maybe related, even when I add one, its MotionState.GraphicsWorldTransform is always messed up, and I have to use the RigidBody's WorldTransform. But again, after I add a second rigid body, even it goes nuts.
Would there be any reason adding a second rigid body would cause force onto another without ever touching each other?
Thanks!