Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


useUpObject

Determines how the up vector is calculated.
Read time 1 minuteLast updated 10 days ago

Definition

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.