AlignType
*このコンテンツは、ベータ版のAI(人工知能)を使用して翻訳されており、エラーが含まれている可能性があります。このページを英語で表示するには、 こちら をクリックしてください。
制約と付属の体を整列する方法を指定する枚数です。An enum that specifies how the constraint will attempt to align the body associated with the constraint and attachment.設定によって、特定の軸を平行、直角、または特定のポイントを見るように調整することができます。
アイテム
名前 | 値 | 概要 |
---|---|---|
Parallel | 0 | |
Perpendicular | 1 | |
PrimaryAxisParallel | 2 | メイン軸を Constraint.Attachment1 によって指定された軸と平行に配置します。 |
PrimaryAxisPerpendicular | 3 | 主軸を Constraint.Attachment1 によって指定された軸と平行に調整します。 |
PrimaryAxisLookAt | 4 | メイン軸を調整して、Constraint.Attachment1 または AlignOrientation.LookAtPosition によって指定されたポイントを見ます。 |
AllAxes | 5 | すべての の軸を または によって指定された軸、または および によって提供されるターゲットオリエンテーションに合わせます。 |