AlignType

*此內容是使用 AI(Beta 測試版)翻譯,可能含有錯誤。若要以英文檢視此頁面,請按一下這裡

一個枚值,指定限制如何嘗試將與限制和附件相關的身體對齊。取決於配置,它可以用於將特定軸調整為平行、斜角或查看特定點。

道具

名稱概要
Parallel0
已棄用
Perpendicular1
已棄用
PrimaryAxisParallel2

將主軸調整為與由 Constraint.Attachment1 提供的軸平行。

PrimaryAxisPerpendicular3

將主軸調整為垂直於由 Constraint.Attachment1 提供的軸。

PrimaryAxisLookAt4

將主軸調整到查看由 Constraint.Attachment1AlignOrientation.LookAtPosition 提供的點。

AllAxes5

Constraint.Attachment0 的所有軸調整到由 Constraint.Attachment1 提供的軸或由 AlignOrientation.PrimaryAxisAlignOrientation.SecondaryAxis 提供的目標方向。

此頁面