You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.
We implemented the world in the web worker. The main thread (renderer) is stepped by a requestAnimationFrame (raf). How should the world be stepped?
move them synchronously. Raf issues postMessage to worker to step the world.
move them independently. Use a timeout in the worker with interval 1000/60. May be interval needs to be a 1000/(60*2)
move them independently but do not let the world to go ahead too much. Not sure I understand this solution but it is what cannon.js does in this example
This issue may depend on the design of #4 for variable timeframe physics.
The text was updated successfully, but these errors were encountered:
We implemented the world in the web worker. The main thread (renderer) is stepped by a requestAnimationFrame (raf). How should the world be stepped?
This issue may depend on the design of #4 for variable timeframe physics.
The text was updated successfully, but these errors were encountered: