Search found 6 matches
- Wed Nov 28, 2012 11:41 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Problems using btConvexHullShape and btBvhTriangleMeshShape
- Replies: 2
- Views: 3963
Re: Problems using btConvexHullShape and btBvhTriangleMeshSh
I have changed the box to a btHullShape also and now it seems to work better, and not penetrate the other btHullShapes as easily.
- Mon Nov 19, 2012 8:46 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Problems using btConvexHullShape and btBvhTriangleMeshShape
- Replies: 2
- Views: 3963
Problems using btConvexHullShape and btBvhTriangleMeshShape
I have a system where I am pushing a block along a surface. If I make the surface out of a large btBoxShape, the block moves just fine. When I make the surface out of a btBvhTriangleMeshShape the block starts hoping as it slides across the surface. When I make the surface out of a btConvexHullShape,...
- Fri Nov 09, 2012 9:36 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: applyImpulse works intermittantly
- Replies: 4
- Views: 4591
Re: applyImpulse works intermittantly
Perfect, that is exactly what was happening. The object was going to sleep. If I applied the impulses early it would stay away. Thank you.
- Thu Nov 08, 2012 11:22 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Hello World why does it go down?
- Replies: 3
- Views: 3801
Re: Hello World why does it go down?
The gravity is a force with direction and magnitude. The object is being pushed with a force of 10 in the -y direction. It will go down no matter where you put it, unless you change the direction of the force.
- Thu Nov 08, 2012 10:26 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: applyImpulse works intermittantly
- Replies: 4
- Views: 4591
applyImpulse works intermittantly
I have a class member btRigidBody* carBody; I created a rigid body they same way it is done in the HelloWorld demo, along with a btDiscreteDynamicsWorld* dynamicsWorld from the demo also. Later I use carBody->applyImpulse(btVector3(0.f,0.5f, 0.f), btVector3(0.f, 0.f, 0.f)). If I call applyImpulse ea...
- Thu Nov 08, 2012 9:03 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Hello World why does it go down?
- Replies: 3
- Views: 3801
Re: Hello World why does it go down?
It isn't clear what you mean when you say you set the default y value to -56. The gravity is set on line 43.
dynamicsWorld->setGravity(btVector3(0,-10,0));
If you set the gravity to a positive y value then it will 'fall' upwards.
dynamicsWorld->setGravity(btVector3(0,-10,0));
If you set the gravity to a positive y value then it will 'fall' upwards.