ProtoFlux:Smooth Slerp: Difference between revisions

From Resonite Wiki
Created a page for the Smooth 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 linear, use the [[ProtoFlux:Constant Slerp|Constant Slerp]] node instead.|suggestion}}


== Inputs ==
== Inputs ==

Latest revision as of 14:42, 2 July 2024

Smooth Slerp
Input
*
Speed
Interpolation

The Smooth Slerp node takes in an input value and the speed of which it slerps smoothly towards (starts fast and slows down over time), 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 linear, use the Constant 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.