I want a big amout of bulletRigidBodies not to collide with each other, but collide with other bodies.
Any suggestions?
And the second question: When i use ConeTwistConstraint with a big amount of bodies - first everything is ok, but then friction of bodies accumulates and at last they just fly everywhere in differen directions.
My suggestion is to read this post: [url]Panda Bullet - #476 by enn0x] . Itâs a rather new feature, and not yet mentioned in the manual.
Iâd say that the trick is to setup the bodies and constraints in a ârelaxedâ way, that is in positions/orientations where minimal force is applied. We certainly need more information about your setup in order to provide more detailed help.
Copying bone(joint) transform to frame transform for ârelaxâ. All objects make a human something like a human skeleton. So i can say that transform works and all objects must be in ârelaxedâ pose".
Sorry, but i searched before and didnât found this methond in bulletWorld.h. I think my version is old, but I downloaded it only month ago. Please, can you give link to a version, that have this feature. Thanks, and Happy New Year
âRelaxedâ means that the engine will not apply any net force to a given setup, so without perturbation from outside a relaxed system will stay in the same state as it has been initial. Obviously your setup is not relaxed, or you run into numerical problems inside Bullet.
I have to admit that the advice to use a relaxed setup is, well, not very helpful. The trick is to find out why it is not relaxed, and how to setup in a relaxed way.
Setting up Bullet constraints is a tricky thing. I donât understand it fully myself. So far I donât see any obvious problems in the fragments you present to me. But then the difference comes with the values which get applied by the code, not by the code itself.
What can we do?
1.) You could try to setup only a single joint, and see what happens if you simulate. Repeat for all joint, one by one.
2.) You could try to insolate the relevant code into a standalone sample and send me the files. Then I can try to find out what causes the explosion.