Search found 10 matches

by Yola
Fri Apr 12, 2019 6:28 pm
Forum: General Bullet Physics Support and Feedback
Topic: malloc doesn't work inside Bullet
Replies: 1
Views: 2401

malloc doesn't work inside Bullet

I built Bullet for VS2017 as explained on github. I can run BulletExampleBrowser, but when i try to use it from my application I sometime have this stack trace inside Bullet, sometime other, but apparently something wrong with memory allocations. BulletResearch-Debug.exe!heap_alloc_dbg_internal(cons...
by Yola
Thu Apr 04, 2019 1:21 pm
Forum: General Bullet Physics Support and Feedback
Topic: Can i turn off sliding
Replies: 2
Views: 2705

Can i turn off sliding

I need to simulate a pallet with boxes. When i load a lot of boxes, they start to slide, because i have some small vertical gaps between boxes. Such a pallet quickly collapse. I think that for me would be enough to just simulate torque. I mean to allow boxes to tip over or roll. For now i think to d...
by Yola
Tue Feb 26, 2019 12:27 pm
Forum: General Bullet Physics Support and Feedback
Topic: Can i help Bullet to resolve collisions
Replies: 2
Views: 3629

Can i help Bullet to resolve collisions

Hello,

i have a simulation of pallet with a lot of boxes on it. But at the bottom of the pallet i see that boxes penetrate into each over. Can i tune Bullet to resolve it or write my handler to resolve it? If it is possible to add such a handler, then how can i do it?
by Yola
Tue Nov 27, 2018 8:57 am
Forum: General Bullet Physics Support and Feedback
Topic: Compound shape rigid body doesn't collide, obey gravity, ..
Replies: 3
Views: 3421

Re: Compound shape rigid body doesn't collide, obey gravity, ..

I believe i have found the error, i misused child transforms.
by Yola
Sun Nov 25, 2018 9:00 am
Forum: General Bullet Physics Support and Feedback
Topic: btCompoundShape: collision detection problem! :?:
Replies: 10
Views: 12085

Re: btCompoundShape: collision detection problem! :?:

Sorry, how did you solved the problem? Could you provide some code or function that you called to update child shapes?
by Yola
Sat Nov 24, 2018 7:55 pm
Forum: General Bullet Physics Support and Feedback
Topic: Compound shape rigid body doesn't collide, obey gravity, ..
Replies: 3
Views: 3421

Re: Compound shape rigid body doesn't collide, obey gravity, ..

I tried few things at home with bullet, so i tried to do the same at home with my C++ library. I do it like this: btVector3 boxDims(.5f, .5f, .5f); auto compoundTransform = OrthogonalTransform::MakeTranslation(0, 5, 0); auto compoundShape = make_unique<btCompoundShape>(); compoundShape->addChildShap...
by Yola
Fri Nov 23, 2018 4:09 pm
Forum: General Bullet Physics Support and Feedback
Topic: Compound shape rigid body doesn't collide, obey gravity, ..
Replies: 3
Views: 3421

Compound shape rigid body doesn't collide, obey gravity, ..

I created compound shape rigid body. All other objects collide well, this one doesn't. But it falls through other objects due to gravity, strangely that other forces which i apply (tried ApplyCentralForce) doesn't affect it, but ApplyCentralImpulse affects it. What can it be? I use BulletSharp.
by Yola
Fri Nov 02, 2018 2:45 pm
Forum: General Bullet Physics Support and Feedback
Topic: Why bullet proposes value to clamp number of substeps?
Replies: 1
Views: 1928

Why bullet proposes value to clamp number of substeps?

Why bullet needs maxSubSteps at all? Why to clamp value at all? In the code i saw the following comment: //clamp the number of substeps, to prevent simulation grinding spiralling down to a halt int clampedSimulationSteps = (numSimulationSubSteps > maxSubSteps) ? maxSubSteps : numSimulationSubSteps; ...
by Yola
Fri Nov 02, 2018 9:13 am
Forum: PyBullet Support and Feedback
Topic: Why bullet proposes value to clamp number of substeps?
Replies: 1
Views: 2631

Why bullet proposes value to clamp number of substeps?

Why bullet needs maxSubSteps at all? Why to clamp value at all? In the code i saw the following comment: //clamp the number of substeps, to prevent simulation grinding spiralling down to a halt int clampedSimulationSteps = (numSimulationSubSteps > maxSubSteps) ? maxSubSteps : numSimulationSubSteps; ...
by Yola
Wed Oct 24, 2018 8:48 am
Forum: General Bullet Physics Support and Feedback
Topic: How to build bullet for x64
Replies: 1
Views: 1982

How to build bullet for x64

I use build_visual_studio_without_pybullet_vr.bat to build bullet, but i can't find out how to build for x64. I checked help for premake5, but there is no option for it.

Previosly i used this manual , but it is not available now.