Fixed typo. |
Change some wording to make the relation between the node and unity (being none) more clear. |
||
Line 8: | Line 8: | ||
|}} | |}} | ||
The <code>Delta Time</code> node returns the change of time between two | The <code>Delta Time</code> node returns the change of time between two world updates, specifically the time between the current update and the one before. | ||
{{Note|There is an alternative node called [[ProtoFlux:Smooth Delta Time|Smooth Delta Time]] that tries to smooth out this result when getting lag or frame stutters.|suggestion}} | {{Note|There is an alternative node called [[ProtoFlux:Smooth Delta Time|Smooth Delta Time]] that tries to smooth out this result when getting lag or frame stutters.|suggestion}} | ||
This [https://docs.unity3d.com/ScriptReference/Time-deltaTime.html Unity Documentation about Delta Time] may be relevant in helping understand what this does. And following that, this has an excellent explanation about [https://docs.unity3d.com/Manual/TimeFrameManagement.html Time Frame Management], which in general may help with working with this node in your content. | |||
=== Uses === | === Uses === |
Latest revision as of 00:25, 3 November 2024
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.
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.