planRagdoll
planRagdoll(
bones,options):RagdollLimb[]
Defined in: sdk/src/physics3d/ragdoll.ts:221
The limbs a skeleton is made into. Pure: bones in, limbs out, parents before children.
A bone points at its longest child; one with no children (a hand, a head) takes its parent’s line and half its length. A bone shorter than
minBoneLength gets no limb, and what hangs from it hangs from the limb above.
Parameters
Section titled “Parameters”readonly RagdollBone[]
options
Section titled “options”number
forward?
Section titled “forward?”minBoneLength
Section titled “minBoneLength”number
profile?
Section titled “profile?”number
thickness
Section titled “thickness”number