Jump to content

[SOLVED] BodyFracture


photo

Recommended Posts

Posted

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.

Posted

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.

×
×
  • Create New...