Open GoogleCodeExporter opened 9 years ago
this should be relatively straightforward - along the direction you are going.
we should be able to add a flag to enable/disable this feature and simply
rebuild the collision shape every frame based on the input mesh transform and
shape. This would involve running the passive RB creation routine per frame -
which will certainly slow things down, but should do the trick. One potential
wrinkle here is in the Bullet world update - which may currently be
uninterested in updating collision shapes while the sim is running...this
feature is on my list too.
Original comment by mich...@mbakr.com
on 1 Sep 2011 at 3:14
It should be possible, but it takes some work/time.
For passive (non-moving/mass=0) objects, Bullet has a btBvhTriangleMeshShape
that can refit the triangles. Other options are using the GImpact mesh, and
updating the vertices, or temporarily switching to soft body.
Original comment by erwin.coumans
on 21 Mar 2012 at 7:11
Original issue reported on code.google.com by
redpa...@gmail.com
on 4 Jan 2011 at 7:48