Selective collisions

Post Reply
sipickles
Posts: 44
Joined: Thu Aug 07, 2008 6:57 am

Selective collisions

Post 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
sparkprime
Posts: 508
Joined: Fri May 30, 2008 2:51 am
Location: Ossining, New York
Contact:

Re: Selective collisions

Post 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.
Post Reply