PhysicsWorld: Simulate after frame render
Use a frame animator class based on QQuickFrameAnimation to get call
backs on each frame rendering and do the physics frame stepping then.
The benefit is that, at most, only one physics frame will happen per
rendered frame. This avoids simulating several time steps and firing
several callbacks when no visual change is happening.
The auto tests are set to 15 ms frame times just to get smooth frames on
a 60 hz monitor (will lag on anything over that though).
[ChangeLog][PhysicsWorld] Change minimumTimestep default value to 1.
[ChangeLog][PhysicsWorld] Make simulation frames work in lockstep with
rendered frames.
Fixes: QTBUG-129530
Change-Id: I959b1db9f50309a6d6547d88f66fb0c6ce36a3ed
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>