轴向 转换为 旋转¶
Creates a rotation based on two axis directions.
Tip
In many cases, these directions are a normal and tangent on a mesh or curve.
输入¶
- 主轴向
The desired direction of the primary axis.
- 次轴向
The desired direction of the secondary axis. Ideally, this is orthogonal to the primary direction.
属性¶
- 主轴向
The axis (X, Y or Z) that should be aligned exactly to the primary direction.
- 次轴向
The axis that should be aligned as closely as possible to the secondary direction.
输出¶
- 旋转
The rotation that results in the given axes being aligned to the given directions.