Collision Detection with topology changes

Adler
Posts: 5
Joined: Mon Feb 01, 2010 8:27 pm

Collision Detection with topology changes

Post by Adler »

Hello,

maybe i will be new to bullet soon. I have some experience with physics Engines, but not with bullet for now.
I search for an PE which can handle collision detection with topology changes. I want to refine or cut into
a triangular Mesh. I have realized the cutting and so on, but not the collision detection. Must libs can handle
Collision Detection but the structures have to be re-initialized after a change to the topology (index list)

Can Bullet handle this in Realtime?

Thanks

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

Re: Collision Detection with topology changes

Post by Erwin Coumans »

The dynamic AABB tree acceleration structure can deal with topology changes, you can add, remove and reposition AABBs dynamically. It is implemented in btDbvt.cpp

This structure is used for the broadphase collision detection as well as for soft body collisions. There is a demo that shows tearing soft body cloth, you might have a look at that.
Thanks,
Erwin