文档

Unity Engine

Unity Engine

useUpObject

Determines how the up vector is calculated.
阅读时间1 分钟最后更新于 1 个月前

Definition

public bool useUpObject { get; set; }

Remarks

When set to true, the constraint uses LookAtConstraint.worldUpObject to calculate the up vector. When set to false, the constraint uses the world's Y axis rotated by LookAtConstraint.roll as the up vector.