Axis to Rotation Node#

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.

輸入#

Primary Axis

The amount of rotation around the primary axis.

Secondary Axis

The amount of rotation around the secondary axis.

屬性#

Primary Axis

Axis that is aligned exactly to the provided primary direction.

Secondary Axis

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

輸出#

Rotation

Standard rotation value.