Skip to content

Smooth value

93

The Smooth value node performs linear interpolation between an old value and a new value over a specific duration. It "travels" from the current output to the target input at a speed defined in milliseconds, preventing abrupt jumps in data.

When to use this node: * Fluid Animations: Ensuring that a gauge or a physical motor moves smoothly to its new position rather than snapping instantly. * Soft Light Fades: Gradually transitioning lighting intensity to create a cinematic atmosphere during game events. * Volume Ramping: Slowly increasing or decreasing audio volume to avoid jarring sound transitions.

Pro Tip: The speed property (in ms) determines how long the total transition takes. A higher speed value results in a slower, more deliberate movement.

Connectors in

  • value [type: float]
  • speed [type: integer]

Connectors out

  • value [type: variant]

Node properties

  • speed [type: integer]
  • startValue [type: float]