ProtoFlux:Delta Time: Difference between revisions

From Resonite Wiki
Change some wording to make the relation between the node and unity (being none) more clear.
Added category: ContinuouslyChanging nodes
 
Line 24: Line 24:


[[Category:ProtoFlux:Time]]
[[Category:ProtoFlux:Time]]
[[Category:ContinuouslyChanging nodes]]

Latest revision as of 06:50, 27 May 2025

dT
*
Time

The Delta Time node returns the change of time between two world updates, specifically the time between the current update and the one before.

There is an alternative node called Smooth Delta Time that tries to smooth out this result when getting lag or frame stutters.

This Unity Documentation about Delta Time may be relevant in helping understand what this does. And following that, this has an excellent explanation about Time Frame Management, which in general may help with working with this node in your content.

Uses

Using this node, you can make an accumulator or a timer using the frames here and storing them to a variable and adding them every frame.

Outputs

* (float)

The difference in time between this frame and the last frame.