Since we using threejs to render out the scene, and matterjs for the physics simulation, It might make sense to make full use off matterjs and not only implement a custom renderer, but also control the game loop and update rate of the physics to throttle around 60 fps.
Everyone has some experience of how things look when vsync is turned off and your framerate for simple things ends up going nuts, and actually playing becomes a bit harder.
So keeping rendering and logic in sync. Ye. need to do it.
https://github.com/liabru/matter-js/wiki/Rendering#using-a-custom-renderer
Since we using threejs to render out the scene, and matterjs for the physics simulation, It might make sense to make full use off matterjs and not only implement a custom renderer, but also control the game loop and update rate of the physics to throttle around 60 fps.
Everyone has some experience of how things look when vsync is turned off and your framerate for simple things ends up going nuts, and actually playing becomes a bit harder.
So keeping rendering and logic in sync. Ye. need to do it.