Houdini 21.0 Nodes APEX nodes

transform::Dihedral<T>

Computes a transformation representing the rotation between two vectors.

On this page
Since 20.0

Computes a transformation that rotates vector a onto vector b about their perpendicular axis. The Matrix version of this node returns a rotation matrix while the Vector4 version returns a quaternion.

Inputs

a: Vector3

A vector representing the starting direction before the rotation is applied. The vector does not need to be normalized.

b: Vector3

A vector representing the end direction once the rotation has been applied. The vector does not need to be normalized.

Outputs

result: Matrix3, Matrix4, Vector4

The rotation transformation as a rotation matrix or quaternion.

APEX nodes