ProtoFlux:FromToRotation

From Resonite Wiki
Revision as of 17:06, 16 April 2025 by Yosh (talk | contribs) (correct)
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 (float3)

The starting vector to rotate from.

To (float3)

The ending vector to rotate to.

Outputs

* (Pseudo-Generic)

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

See Also