Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ProtoFlux:SmoothSlerp: Difference between revisions

From Resonite Wiki
AmasterAmaster (talk | contribs)
Created a page for the Smooth Slerp node.
 
AmasterAmaster (talk | contribs)
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 ==

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.