Constructor

@:value({ smallDelta : 0.0001, minSizeForBreak : 1.4 })new(minSizeForBreak:Float = 1.4, smallDelta:Float = 0.0001)

Variables

Methods

initBreakableObject(object:MeshObject, mass:Float, friction:Float, velocity:Vec4, angularVelocity:Vec4, breakable:Bool):Void

subdivideByImpact(object:MeshObject, pointOfImpact:Vec4, normal:Vec4, maxRadialIterations:Int, maxRandomIterations:Int):Array<MeshObject>