Although I'm not a web development expert, I do have a good understanding of three.js as I even teach a class on it. Currently, I am attempting to incorporate physics using physijs.
I made a copy and decided to test the Jenga example: Initially, the blocks appear, but then they disappear after a random amount of time. The Chrome console displays an error message that says "Uncaught ReferenceError: Runtime is not defined", leading me to line 302 in physijs_worker.js:
world.setInternalTickCallback( Runtime.addFunction( reportInternalTick ) );
If you're interested in checking out my page with this issue, here's the link:
Despite spending hours searching online and experimenting, I haven't been able to make any progress. Can anyone provide assistance? Do it for the children! (or simply for the recognition, either works!)
I feel completely stuck.
- Marqso