Deformable body self collision(s) detection

ramsampath
Posts: 19
Joined: Fri Sep 05, 2008 8:54 pm

Deformable body self collision(s) detection

Post by ramsampath »

Hi,

I was wondering if its possible detecting self collisions for deformable bodies using GImpact or any other object in Bullet. It seems to be possible to use btSoftBody for self collisions but ideally I would like to use only collisions and not the solver.

I would really appreciate any pointers on this.

Thanks
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Deformable body self collision(s) detection

Post by Erwin Coumans »

It should be straighforward to implement self-collision based on either btBvhTriangleMeshShape or btGImpactTriangleMeshShape, but this hasn't been implemented yet.

You could file a feature request in the issue tracker or digg into the code and provide a patch.
Thanks,
Erwin
ramsampath
Posts: 19
Joined: Fri Sep 05, 2008 8:54 pm

Re: Deformable body self collision(s) detection

Post by ramsampath »

Thanks Erwin. I will look into patching GImpactShape and in the meantime also submit an issue tracker for that.

Ram.