Framerate Independent Timer

Pure
FramerateIndependentTimer

Updates a timer and returns normalized progress (0-1). Correctly handles variable frame rates.

Type: Pure (no side effects)
Category: Fortuna|Time & Date
Keywords: time & date

Inputs

NameTypeDefaultDescription
ElapsedfloatElapsed parameter
DurationfloatDuration parameter
DeltaTimefloatDeltaTime parameter

Outputs

NameTypeDescription
Progressfloat 0-1Progress output
bCompletedboolbCompleted output

Example Use Cases

Example 1

Drive a timed event without relying on Delay nodes.

Example 2

Progress bar for a crafting operation.