fixedUpdate should run inside requestAnimationFrame
Closed this issue · 1 comments
thomas-alrek commented
fixedUpdate now runs in a setTimeout loop. For performance and timing, it should be moved to be ran at the end or beginning of each frame. We could do a simple test on Time.fps % desired_frame_rate == 0, or just simply run it on the same frame rate as update().
thomas-alrek commented
Fixed in 143c63e