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.
This commit is contained in:
1241
Demos/FractureDemo/FractureDemo.cpp
Normal file
1241
Demos/FractureDemo/FractureDemo.cpp
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user