Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


center

The default orientation of a bone when no muscle action is applied.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public Vector3 center { get; set; }

Remarks

The vector value represents the bone's rotation in degrees around the X, Y and Z axes relative to the initial position of the bone in the skeleton. Any muscle rotation subsequently applied to the bone will be relative to this value.
If _useDefaultValues is enabled, the value of
center
will be [0, 0, 0].
Additional Resources: _useDefaultValues