Bullet Physics Object falling through the ground

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
qez111
Posts: 54
Joined: Mon Apr 28, 2008 9:44 pm

Bullet Physics Object falling through the ground

Post by qez111 »

Hi All,
I am experiencing a wierd problem with the Bullet Physics engine (the latest version).
Actually, I have a convex hull mesh (a dynamic object), which falls through the static plane quite randomly. I don't know why it happens, but I find this happening with no reason at all. The normal behavior is for the object to bounce off the ground plane, but it instead sometimes penetrates the ground and falls down (and subsequently becomes out of sight) as if there was no ground plane at all to collide with. I tried to reproduce the issue with the same amount of force applied, but sometimes it works fine, and sometimes it penetrates the ground and goes down infinitely away.

The meshes for the objects I am using is created in a 3d software. The dynamic object is a Sphere, and the static plane object is a Plane.

Is there a reason why this is happening or has somebody else encountered such an issue?

Thanks
Last edited by qez111 on Fri Aug 29, 2008 8:34 am, edited 1 time in total.
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Why ask about a problem that is confined to Bullet on this forum? Your best bet is to go to the Bullet forum (assuming they have one) and ask there as there will be many more Bullet users there ;)
Image Image Image
qez111
Posts: 54
Joined: Mon Apr 28, 2008 9:44 pm

Post by qez111 »

I will ask in Bullet forum but I am asking here because I don't find it connected to Bullet alone, but its probably something because I am using Bullet in Irrlicht. I thought someone may have experienced such an issue here and may point me in the right direction.
I haven't experienced such a problem while using bullet's examples in openGL.
Brainsaw
Posts: 1177
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Post by Brainsaw »

I have had a similar problem with ODE because I didn't use a fixed time stamp but calculated the time between two frames and passed that value to ODE.
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Post Reply