ProtoFlux:Div Delta Time: Difference between revisions

From Resonite Wiki
Standardize and add example
m Replace Delta by letter d to be accurate
Line 1: Line 1:
{{#Invoke:ProtoFlux|GenerateUI
{{#Invoke:ProtoFlux|GenerateUI
|Name=÷ΔT
|Name=÷dT
|Category=Math
|Category=Math
|Inputs=
|Inputs=

Revision as of 01:41, 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 framerates as 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).