Question on setting velocity in Bouncy Circles example

Hello! If you open Bouncy Circles example from Help Browser, you’d notice that FrameDifference alone is being used to set the velocity.

I was expecting that I would have to divide FrameDifference by TimeDifference to get the velocity value:

Am I assuming something wrong here?

Hi!

This basic example works in a frame-based fashion. It ignores the notion of time. Thus the term Velocity is a bit misleading.

If you feel like playing: try a MainLoop node and set it to 1000fps. Then disable the VSync on the renderer. The animation now is very short as many more frames are calculated in a second.