Problem with bullet compile

falcosolitario
Posts: 5
Joined: Mon Feb 16, 2009 11:13 am

Problem with bullet compile

Post by falcosolitario »

Hi everybody
I'm still having some weird problem using bullet and i really hope that someone could help me.
Leaving the softbody weird problem, which seems to be related to this new one here's my situation:
I have setup a simply world, with two object, one static, one dynamic, two boxes.
I have created this two boxes with convexhullshape (but i have also tried in other way and it doesn't change)
now when the simulation start the dynamic box goes down, bumps on the static one and stop, so it's perfect.
So where's the problem? the problem is that this is happening in debug mode, and when i switch to release the dynamic cube disappear the very moment it touches the static one.
i have checked all the procedure (i cannot post my engine here, it's too long), double checked, and i'm doing everything in the right way (following the samples on bullet 2.74
So i have considered changing the project parameters following the ones in the sample of bullet with the only results that now also in debug mode the box disappear.
So the question:
is there any particular condition for a cube to disappear when it collide with another object? is there any specific parameter for vs and also for xcode (yes, it happens also under osx leopard) that i have to setup in order to get a real simulation?
Please help me, i'm quite desperate.
Eduard XVII.
Posts: 1
Joined: Sat Apr 14, 2012 10:45 pm

Re: Problem with bullet compile

Post by Eduard XVII. »

I have a very similar problem: whenever a SphereShape touches a Trimesh the sphere disappears in release mode. In debug mode everything works fine. Does anyone have an idea what's the problem? Seems there isn't any solution on the boards or wiki...