I have been writing a browser-based 3d game in TypeScript using Three JS as my rendering engine. I’ve been trying to settle on a physics solution for the game and came across nphysics, and it interests me very much as it can be compiled down to WASM.
#[js_export] as explained in the stdweb README, or are all the nphysics functions exposed out of the box?
Do you see this as a viable approach? Any tips and pointers would be much appreciated!