Skip to content

RagdollJointData

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

The fields of the RagdollJoint component.

bend: number

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

How far it may bend, in degrees, one way only (a knee, an elbow). 0 is an ordinary swing and twist joint.


body: boolean

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

Whether this bone gets a body of its own. Off, the bone above carries it.


custom: boolean

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

Whether the limits below stand in for the ones the profile would give this joint.


fold: number

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

Which way a bend goes where the bone’s name does not say: 0 as its name says (a shin back, a forearm forward), 1 toward the way the character faces, -1 away from it.


swing: number

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

How far the limb may swing from its bone’s line, in degrees, either way.


twist: number

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

How far the limb may twist about its own line, in degrees, either way.