ProtoFlux:FromToRotation: Difference between revisions

From Resonite Wiki
correct
m YoshBot moved page ProtoFlux:From To Rotation to ProtoFlux:FromToRotation: Automated: removing spaces from ProtoFlux namespace
 
(One intermediate revision by one other user not shown)
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.

Latest revision as of 00:20, 21 August 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