HumanoidReferences
public sealed class HumanoidReferencesNamespace NodeWorld.Avatar.IK.
The bones of a humanoid avatar the full-body IK drives, read from its Animator.
Fields
root
public Transform rootThe avatar's root object.
pelvis
public Transform pelvisHips bone.
spine
public Transform spineFirst spine bone.
chest
public Transform chestChest bone, or null.
neck
public Transform neckNeck bone, or null.
head
public Transform headHead bone.
leftShoulder
public Transform leftShoulderLeft shoulder (clavicle) bone, or null.
leftUpperArm
public Transform leftUpperArmLeft upper arm bone.
leftForearm
public Transform leftForearmLeft forearm bone.
leftHand
public Transform leftHandLeft hand bone.
rightShoulder
public Transform rightShoulderRight shoulder (clavicle) bone, or null.
rightUpperArm
public Transform rightUpperArmRight upper arm bone.
rightForearm
public Transform rightForearmRight forearm bone.
rightHand
public Transform rightHandRight hand bone.
leftThigh
public Transform leftThighLeft thigh bone.
leftCalf
public Transform leftCalfLeft calf bone.
leftFoot
public Transform leftFootLeft foot bone.
leftToes
public Transform leftToesLeft toes bone, or null.
rightThigh
public Transform rightThighRight thigh bone.
rightCalf
public Transform rightCalfRight calf bone.
rightFoot
public Transform rightFootRight foot bone.
rightToes
public Transform rightToesRight toes bone, or null.
Properties
HasRequiredCore
public bool HasRequiredCore { get; }Root, pelvis, spine and head are all set.
HasArms
public bool HasArms { get; }Both arms are complete (upper arm, forearm and hand on each side).
HasLegs
public bool HasLegs { get; }Both legs are complete (thigh, calf and foot on each side).
Methods
IsValid
public bool IsValid(out string error)The references can drive the IK: the core bones are set, and arms and legs are each complete or absent. error says what is missing.
