Simple question, and maybe stupid at that: is it possible to use the Havok wasm plugin from another language to bake a simulation offline that will be rendered in BJS afterwards (online)?
Second advantage: use my favorite language instead of typecript.
You could use javascript and maybe Python has a way to run wasm but I am not sure it would be as straightforward as you think. You might need to rewrite the full glue in python.
I am thinking rust compiles real good to WASM so maybe they have a wasm runtime ?
But the real issue is to mix the JS and the wasm. Havok is not only .wasm but also a glue layer.
But, if it’s pre-baked, then why use realtime libraries? Why not bake with Blender/Maya/Houdini or any tools available with a native interface like BulletPhysics, Jolt,… ?