Skip to content

RagdollPlan

Defined in: sdk/src/physics3d/ragdoll.ts:345

What a ragdoll is made of: the skeleton it reads, and what each limb gets (a body, and a joint to the limb above).

bones: number[]

Defined in: sdk/src/physics3d/ragdoll.ts:347


limbs: object[]

Defined in: sdk/src/physics3d/ragdoll.ts:348

joint: { data: SwingTwistJoint3DData; kind: "swingTwist"; } | { data: SixDOFJoint3DData; kind: "sixDOF"; } | null

The joint it is given: swing and twist, or a one-way hinge as a six-axis joint. Absent for the topmost limb.

limb: RagdollLimb


skin: number

Defined in: sdk/src/physics3d/ragdoll.ts:346