3

How is Delta Time different from Scene Time in Simulation Nodes?

Manu Järvinen
  • 7,392
  • 2
  • 25
  • 62

2 Answers2

6

Clarifying pointers:


Delta Time in simulation, keeps things steady:

enter image description here


Scene Time plugged into simulation, makes things exponential:

enter image description here


The value in 'Simulation Output' can be used as 'Time' for some things:

enter image description here

Manu Järvinen
  • 7,392
  • 2
  • 25
  • 62
6

Scene time - how much time in frames or seconds, has passed since the beginning of the animation.

Delta time - how much time has passed, in seconds, from the last evaluation (last frame).

Delta time is a typical value used in simulations and game loops independent of fps, for example I used it here, named dt:

Distributed interaction visualization

def brain(dt, memory, gps):

You could implement delta time yourself by reading the scene time, passing it to sim output and subtracting current scene time from the previous scene time.

Markus von Broady
  • 36,563
  • 3
  • 30
  • 99