subtree()
Every bone in the subtree rooted at bone.
function subtree(rig: Rig, bone: number): Set<number>;Defined in: engine/src/animation/damage.ts:63
Parameters
| Parameter | Type |
|---|---|
rig | Rig |
bone | number |
Returns
Set<number>
sever()
Cut a bone and everything below it off the model. The stump and the cut face of the piece get the rim role (blood, raw flesh) when given. Pure: the input model is not changed, and throwing the piece around is the game's job.
transformPoint()
Apply the 3x4 affine at m[mi] to a point; writes into and returns out.