m standardize pls |
m framerate -> update rate |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#Invoke:ProtoFlux|GenerateUI | {{#Invoke:ProtoFlux|GenerateUI | ||
|Name= | |Name=÷dT | ||
|Category=Math | |Category=Math | ||
|Inputs= | |Inputs= | ||
Line 11: | Line 11: | ||
] | ] | ||
|}} | |}} | ||
DivDeltaTime is a [[ProtoFlux]] node which Divides a value by the amount of time passed | 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 | 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. | ||
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. | |||
== 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
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).