Search found 3 matches

by keev
Wed Sep 23, 2015 10:35 am
Forum: General Bullet Physics Support and Feedback
Topic: How to build and run Soft Body/Cloth demos
Replies: 0
Views: 1920

How to build and run Soft Body/Cloth demos

Hello together, I would like to try the Bullet Soft Body/Cloth demos. However, I didn't find an option in the CMake to build them. In App_ExampleBrowser ExampleEntries.cpp there is an "#ifdef INCLUDE_CLOTH_DEMOS", but it isn't defined... So does anybody know how to build an run the Soft Body/Cloth d...
by keev
Tue Mar 18, 2014 10:53 am
Forum: General Bullet Physics Support and Feedback
Topic: Center of mass computation for btGImpactMeshShape
Replies: 2
Views: 5347

Re: Center of mass computation for btGImpactMeshShape

Thanks for your respond. But btRigidBody::getCenterOfMassPosition() only works if the Body is initialized with the center of mass in the origin. Otherwise it assumes to initial origin to be the center of mass and returns the current position of this point, so this isn't a solution to my issue. This ...
by keev
Mon Mar 17, 2014 11:27 am
Forum: General Bullet Physics Support and Feedback
Topic: Center of mass computation for btGImpactMeshShape
Replies: 2
Views: 5347

Center of mass computation for btGImpactMeshShape

Hi all, I'm dealing with collisions of nonconvex rigid bodies, using btGImpactMeshShape. BtGImpactMeshShape expects the origin to be the Center of Mass. I have some models which don't meet this requirment, but I would like to use them. Is there a function in bullet to compute the center of mass(I ha...