Search found 8 matches

by tmohr
Sun May 13, 2018 6:15 pm
Forum: General Bullet Physics Support and Feedback
Topic: btBvhTriangleMeshShape as dynamic object
Replies: 1
Views: 2242

btBvhTriangleMeshShape as dynamic object

Hello, I try to use several btBvhTriangleMeshShape as dynamic objects and the should collide with each other and also with static objects. But in the example I wrote the btBvhTriangleMeshShape does not even collide with the ground plane. It just falls through. Also, the btBvhTriangleMeshShape don't ...
by tmohr
Wed Apr 04, 2018 2:59 am
Forum: General Bullet Physics Support and Feedback
Topic: applyForce stops working when btRigidBody does not move for some time
Replies: 3
Views: 6097

Re: applyForce stops working when btRigidBody does not move for some time

Great, that solved it. Thanks for that hint.

I haven't seen that one in any of the examples. Not sure, can I read somewhere about any other methods / attributes that could be pitfalls?

Best regards
Torsten
by tmohr
Tue Apr 03, 2018 8:33 pm
Forum: General Bullet Physics Support and Feedback
Topic: applyForce stops working when btRigidBody does not move for some time
Replies: 3
Views: 6097

Re: applyForce stops working when btRigidBody does not move for some time

Hi, I created an example that I compile with the sources of Bullet-2.87 and that shows the effect. The example is attached. I wonder if somebody can reproduce the weird behavior or can tell that it is working as expected? Here is the main part: // Gravity is in Z axis int main(int argc, char** argv)...
by tmohr
Tue Apr 03, 2018 7:41 pm
Forum: General Bullet Physics Support and Feedback
Topic: applyForce stops working when btRigidBody does not move for some time
Replies: 3
Views: 6097

applyForce stops working when btRigidBody does not move for some time

Hello, I have a ground plane and one cube that I let fall down. When the key "a" is pressed I apply a force thats direction is against gravity. This works fine, as long as I press "a" the cube flies upwards, if I release "a" it falls down again. But after a certain time...
by tmohr
Sun Apr 01, 2018 8:20 pm
Forum: General Bullet Physics Support and Feedback
Topic: Bullet Simulation Freezes
Replies: 1
Views: 1912

Re: Bullet Simulation Freezes

Ok, found it. In stepSimulation it should be d / 1000.0f, not 1.0f/d.
by tmohr
Sat Mar 31, 2018 7:32 pm
Forum: General Bullet Physics Support and Feedback
Topic: Influencing a RigidBody with applyForce, setLinearVelocity or applyImpulse does not work
Replies: 1
Views: 1967

Influencing a RigidBody with applyForce, setLinearVelocity or applyImpulse does not work

Hello, the attached file is an example of SDL2 and Bullet-2.81. In there a cube falls on a ground plane and then stays there. I'd like to influence the cube and tried three ways that all did not have any effect at all. Here is the relevant initialisation / setup and the cyclic code, please note that...
by tmohr
Sat Mar 31, 2018 7:22 pm
Forum: General Bullet Physics Support and Feedback
Topic: Bullet Simulation Freezes
Replies: 1
Views: 1912

Bullet Simulation Freezes

Hello, The attached file is an example of SDL2 and Bullet -2.81. The bullet part in there is made from a simple example found in the Wiki pages. void init_bullet(void) { broadphase = new btDbvtBroadphase(); collisionConfiguration = new btDefaultCollisionConfiguration(); dispatcher = new btCollisionD...