Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


bodyRotation

The rotation of the body center of mass.
Read time 1 minuteLast updated 4 days ago

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.