Commit Graph

2 Commits

Author SHA1 Message Date
erwin.coumans
74a65a6207 cleaned up FractureDemo, still need to apply the velocity/impulses after the fracture took place 2011-03-17 00:41:39 +00:00
erwin.coumans
a522cb98d9 Added a first version of FractureDemo, showing basic fracture and glue of rigid bodies.
It assumes a btCompoundShaps (where the childshapes are the pre-fractured pieces)
The btFractureBody is a class derived from btRigidBody, dealing with the collision impacts and connectivity/propagating the fracture.
Press the F key to toggle between fracture and glue mode
This is preliminary work, can be used as a starting point to implement your own fracture.
2011-02-27 09:46:46 +00:00