Search found 4 matches

by sezaru
Wed Sep 25, 2013 3:44 pm
Forum: General Bullet Physics Support and Feedback
Topic: btBoxShape not behaving as expected
Replies: 13
Views: 5958

Re: btBoxShape not behaving as expected

I'm having the exact same problem, the boxes behave strangely and then simply stops simulating.. Here is my code for initializing it: const auto mass = 1.0; btTransform transform; transform.setIdentity(); transform.setOrigin(btVector3{position[0] - 0.5f, position[1] - 0.5f, position[2] - 0.5f}); aut...
by sezaru
Wed Jan 09, 2013 6:41 am
Forum: General Bullet Physics Support and Feedback
Topic: btBvhTriangleMeshShape suffering from tunneling
Replies: 3
Views: 2798

Re: btBvhTriangleMeshShape suffering from tunneling

Ok, after more testing, I've found that the problem starts when I have a higher m_restitution value, I've made a video showing the problem, in the video I've set the restitution to 0.95, as you can see, in the beggining I couldn't make the problem happens, but around 1 minute of video It started, if...
by sezaru
Tue Jan 08, 2013 5:09 am
Forum: General Bullet Physics Support and Feedback
Topic: btBvhTriangleMeshShape suffering from tunneling
Replies: 3
Views: 2798

Re: btBvhTriangleMeshShape suffering from tunneling

I'm not sure if you meant -0.4 or 0.4, but either have the above issue. Actually I don't need that much momentum, I've set like that just for testing purposes, so I've changed m_restitution from 1.3 to 0.3 and the issue disappeared, it only happens now when I create a lot of balls very fast which in...
by sezaru
Tue Jan 08, 2013 4:26 am
Forum: General Bullet Physics Support and Feedback
Topic: btBvhTriangleMeshShape suffering from tunneling
Replies: 3
Views: 2798

btBvhTriangleMeshShape suffering from tunneling

Hello, I've started playing with Bullet Physics for just 2 days, but so far I've successfully integrated it to my voxel engine, but sometimes the objects suffer from tunneling and fall from the terrain. Basically what I have is an grid of chunks, each chunk being an 3D array of 16x16x16, which defin...