UPBGE 0.3+ - deltatime - code and test

I made a test-suite for different kinds of objects and moving methods at different fps.
03_frame_rate.blend (980.1 KB)

Press Space to (re-)start

Comparison of speeds of
- dynamic object using velocity
- static object moving / accelerating by position
- character using walkDirection
- animated static object
 
Code for deltatime and setting logic tickrate (which also affects physics)
for compensating physics at low fps < 60

turn on noise texture for testing at low fps


See: no usage of dt needed for
- dynamic object using velocity
- animated static object

Video:

  1. at 16 fps (noise texture enabled for performance drag)
  2. at 60 fps
  3. at 450 fps
2 Likes