ProtoFlux:FromToRotation

From Resonite Wiki
(Redirected from ProtoFlux:From To Rotation)
From To Rotation
From
*
To
Rotation

The From To Rotation node takes in two 3D vectors and returns a Quaternion representing the rotation from the first vector to the second vector.

The output from this node can, for example, be input to a Mul_FloatQ_Float3 node along with the From vector. This will output the same To vector used for the From To Rotation.

Inputs

From (Pseudo-Generic)

The starting vector to rotate from.

To (Pseudo-Generic)

The ending vector to rotate to.

Outputs

* (Pseudo-Generic)

A quaternion representing the rotation from the first vector to the second vector.

See Also