bteplygin Posted August 16, 2012 Posted August 16, 2012 Hi, How can I create BodyFracture from ObjectMesh? How can I get BodyFracture in script, if I create object from mesh file in editor and add BodyFracture property? Thanks.
carl.sutton Posted August 16, 2012 Posted August 16, 2012 Fracture body can be assigned only to dynamic mesh objects. You are reccomended to use simple primitive shapes as complex shapes do not fracture properly. You can make these shapes easily by including core/scripts/primitives.h and using the functions provided there. Also use the samples/physics/fracture_0x examples for reference on how to implement them via script.
Recommended Posts