文档

Unity Engine

Unity Engine

bodyRotation

The rotation of the body center of mass.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public Quaternion bodyRotation { get; set; }

Remarks

The rotation is in worldspace. You should only set this value from within an OnAnimatorIK() function call.