Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


bodyPosition

The position of the body center of mass.
Read time 1 minuteLast updated 6 days ago

Definition

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

Remarks

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