ProtoFlux:FromToRotation: Difference between revisions

From Resonite Wiki
correct
I have small brain
Line 19: Line 19:
== Inputs ==
== Inputs ==


=== From ([[Type:float3|float3]]) ===
=== From (Pseudo-Generic) ===


The starting vector to rotate from.
The starting vector to rotate from.


=== To ([[Type:float3|float3]]) ===
=== To (Pseudo-Generic) ===


The ending vector to rotate to.
The ending vector to rotate to.

Revision as of 17:07, 16 April 2025

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