Axes to Rotation Node

Axis to Rotation node.

Creates a rotation based on two axis directions.

Tip

In many cases, these directions are a normal and tangent on a mesh or curve.

輸入

Primary Axis

The desired direction of the primary axis.

Secondary Axis

The desired direction of the secondary axis. Ideally, this is orthogonal to the primary direction.

屬性

Primary Axis

The axis (X, Y or Z) that should be aligned exactly to the primary direction.

Secondary Axis

The axis that should be aligned as closely as possible to the secondary direction.

輸出

Rotation

The rotation that results in the given axes being aligned to the given directions.