Version: 2018.2

HumanTrait.GetBoneDefaultHierarchyMass

Switch to Manual
public static float GetBoneDefaultHierarchyMass (int i);

Parameters

iThe humanoid bone index.

Returns

float The bone hierarchy mass.

Description

Gets the bone hierarchy mass.

The default bone mass is used to compute the mass center. The default bone mass is an approximation based on the weight of a human with normal proportions. See Also: Animator.bodyPosition AnimationHumanStream.bodyPosition AnimationHumanStream.bodyLocalPosition.