Page 1 of 1

Selective collisions

Posted: Wed Nov 05, 2008 5:16 pm
by sipickles
Hi,

I've been using Bullet happily for a while, with rigid bodies crashing about in a dynamic world.

My new problem comes with the introduction of btCompound shapes.

How do I apply forces to a compound shape? I tried iterating thru the children and applying the forces to each, but that as expected, didn;t work. The children start to collide and repel each other.

Any suggestions?

Thanks

Simon

Re: Selective collisions

Posted: Thu Nov 06, 2008 6:18 am
by sparkprime
you don't apply forces to shapes, you apply them to bodies. you apply forces to a body with compound shape in the same way as you apply forces to a body with box/sphere shape so i don't understand the question.