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().
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().