ProtoFlux:Div Delta Time

From Resonite Wiki
Revision as of 13:32, 10 February 2024 by Colin The Cat (talk | contribs) (framerate -> update rate)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
÷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).