ProtoFlux:Div Delta Time: Difference between revisions

From Resonite Wiki
Use update rate instead of frame rate
m framerate -> update rate
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#Invoke:ProtoFlux|GenerateUI
{{#Invoke:ProtoFlux|GenerateUI
|Name=÷ΔT
|Name=÷dT
|Category=Math
|Category=Math
|Inputs=
|Inputs=
Line 13: Line 13:
DivDeltaTime is a [[ProtoFlux]] node which Divides a value by the amount of time passed since the last local update.
DivDeltaTime is a [[ProtoFlux]] node which Divides a value by the amount of time passed since the last local update.


This is mostly used in conjunction with the [[Delta (ProtoFlux)|Delta]] node to resolve issues created by differing framerates as scales deltas to be proportional to time instead of the update rate, which varies.
This is mostly used in conjunction with the [[Delta (ProtoFlux)|Delta]] node to resolve issues created by differing update rates as it scales deltas to be proportional to time instead of the update rate, which varies.


{{Stub}}
DivDeltaTime is a convenience node which is equivalent to dividing the input value by [[ProtoFlux:Delta_Time|Delta Time]]. This saves one additional node and some space.
<i> needs to be standardized </i>
 
== Inputs ==
 
=== Value (Pseudo-Generic) ===
 
The value to be divided by the time that passed since the last local update.
 
== Outputs ==
 
=== * (Pseudo-Generic) ===
 
The value divided by [[ProtoFlux:Delta_Time|Delta Time]].
 
== Examples ==
 
[[File:ProtoFlux_Delta_Example_Direction.png|none]]
 
Here, the delta position of the movable sphere is divided by delta time such that the resulting change vector is proportional to time (in units per second instead of units per update).


[[Category:ProtoFlux:Math]]
[[Category:ProtoFlux:Math]]
[[Category:ProtoFlux:All]]
[[Category:ProtoFlux:All]]

Latest revision as of 13:32, 10 February 2024

÷dT
Value
*
Math

DivDeltaTime is a ProtoFlux node which Divides a value by the amount of time passed since the last local update.

This is mostly used in conjunction with the Delta node to resolve issues created by differing update rates as it scales deltas to be proportional to time instead of the update rate, which varies.

DivDeltaTime is a convenience node which is equivalent to dividing the input value by Delta Time. This saves one additional node and some space.

Inputs

Value (Pseudo-Generic)

The value to be divided by the time that passed since the last local update.

Outputs

* (Pseudo-Generic)

The value divided by Delta Time.

Examples

Here, the delta position of the movable sphere is divided by delta time such that the resulting change vector is proportional to time (in units per second instead of units per update).