Skip to main content

AnimatedRagdoll.Bone

A private class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

One bone of an AnimatedRagdoll: the animated bone it follows, the physics body and joint that follow it, and per bone drive multipliers.

Constructors​

MemberWhat it is
Bone()Creates an AnimatedRagdoll.Bone with default values.

Fields​

MemberWhat it is
Transform animatedBoneAnimated skeleton bone whose rotation the ragdoll bone tries to match.
float connectedMassScaleMass scale for the joint's connected body.
float dampeningMultiplierMultiplier on the ragdoll's dampening for this joint's drive.
float massScaleMass scale set on the joint (default 5).
float maximumForceMultiplierMultiplier on the ragdoll's maximum drive force for this joint.
Rigidbody ragdollBoneRigidbody of the physics bone.
ConfigurableJoint ragdollJointJoint driven towards the animated bone's rotation.
float torqueMultiplierMultiplier on the ragdoll's torque for this joint's drive spring.

Used in​

Members of other types that take, return or hold a Bone: