Axis to Rotation Node#

轴向转换为旋转节点。

The Axis to Rotation node creates a rotation from a primary and secondary axis.

The node rotates one axis (X, Y, or Z) to the given primary axis direction. Then it rotates around that primary direction to align the second axis to the given secondary direction. Ideally, both input axes are orthogonal.

Tip

In many cases, the primary and secondary axis inputs are a normal and tangent of a mesh or curve.

输入#

主轴向

The amount of rotation around the primary axis.

次轴向

The amount of rotation around the secondary axis.

属性#

主轴向

Axis that is aligned exactly to the provided primary direction.

次轴向

Axis that is aligned as well as possible given the alignment of the primary axis.

输出#

旋转

标准旋转值输出。