Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetBoneDefaultHierarchyMass(int)

Gets the bone hierarchy mass.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public static float GetBoneDefaultHierarchyMass(int i)

Parameters

The humanoid bone index.

Returns

Type

Description

floatThe bone hierarchy mass.

Remarks

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. Additional Resources: Animator.bodyPosition AnimationHumanStream.bodyPosition AnimationHumanStream.bodyLocalPosition.