useUpObject
Determines how the up vector is calculated.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Property
- Namespace: UnityEngine.Animations
- Assembly: UnityEngine.AnimationModule
public bool useUpObject { get; set; }
Remarks
When set to true, the constraint uses _worldUpObject to calculate the up vector. When set to false, the constraint uses the world's Y axis rotated by _roll as the up vector.