Cap Game FPS to 60

Cap Game FPS to 60 in vanilla rapier physics + three.js projects gist

1 Like

Good.

Will it work in VR/XR mode? In this mode one should use renderer.setAnimationLoop instead of requestAnimationFrame and cancelAnimationFrame.

1 Like

you are correct, this has some limitations!