Closed xjh666 closed 7 years ago
Hello, I am new to Physijs. I encountered a problem then I use the example code of BasicSetuphttps://github.com/chandlerprall/Physijs/wiki/Basic-Setup.
THREE.WebGLRenderer 88 physijs_worker.js:243 Uncaught Error: Uncaught SyntaxError: Unexpected end of input at Object.public_functions.init (physijs_worker.js:243) at self.onmessage (physijs_worker.js:1412) public_functions.init @ physijs_worker.js:243 self.onmessage @ physijs_worker.js:1412 physijs_worker.js:95 Uncaught TypeError: Cannot read property 'setIdentity' of undefined at createShape (physijs_worker.js:95) at Object.public_functions.addObject (physijs_worker.js:332) at self.onmessage (physijs_worker.js:1412)
However, I can run the code in the examples folder. Can anyone help me with it? Thanks!
The link is https://github.com/chandlerprall/Physijs/wiki/Basic-Setup
Hello, I am new to Physijs. I encountered a problem then I use the example code of BasicSetuphttps://github.com/chandlerprall/Physijs/wiki/Basic-Setup.
THREE.WebGLRenderer 88 physijs_worker.js:243 Uncaught Error: Uncaught SyntaxError: Unexpected end of input at Object.public_functions.init (physijs_worker.js:243) at self.onmessage (physijs_worker.js:1412) public_functions.init @ physijs_worker.js:243 self.onmessage @ physijs_worker.js:1412 physijs_worker.js:95 Uncaught TypeError: Cannot read property 'setIdentity' of undefined at createShape (physijs_worker.js:95) at Object.public_functions.addObject (physijs_worker.js:332) at self.onmessage (physijs_worker.js:1412)
However, I can run the code in the examples folder. Can anyone help me with it? Thanks!