ProtoFlux:Constant Slerp: Difference between revisions

From Resonite Wiki
Created a page for the Constant Slerp node.
 
Added a suggestion note.
 
Line 16: Line 16:


The "S" part of the slerp stands for "spherical", which means that it deals more with rotations and the values relating to that type of movement ([[Type:floatQ|floatQ]] for reference).
The "S" part of the slerp stands for "spherical", which means that it deals more with rotations and the values relating to that type of movement ([[Type:floatQ|floatQ]] for reference).
{{Note|If you need the slerp to be smooth, use the [[ProtoFlux:Smooth Slerp|Smooth Slerp]] node instead.|suggestion}}


== Inputs ==
== Inputs ==

Latest revision as of 14:43, 2 July 2024

Constant Slerp
Input
*
Speed
Interpolation

The Constant Slerp node takes in an input value and the speed of which it slerps linearly towards, then returns the value over time.

The "S" part of the slerp stands for "spherical", which means that it deals more with rotations and the values relating to that type of movement (floatQ for reference).

If you need the slerp to be smooth, use the Smooth Slerp node instead.

Inputs

Input (Pseudo-Generic)

The value we want to slerp towards.

Speed (float)

How fast the slerp should be.

Outputs

* (Pseudo-Generic)

Returns the value currently being slerped.