Ivan
Ivan
For those who came to this thread to enable Ammo as an ES module. Here is the solution: https://discourse.threejs.org/t/how-to-convert-ammo-js-to-es6-module/30633/4 But later I had this problem: [Three.js and Ammo-ES. Error: ammo-es.js:37...
This is a TypeScript version. I tried to keep names as a body property but it does not work too. It prints "undefined" instead of names: ``` (this.body as any).name...
Solution: ``` const userData = { name: name }; (this.body as any).userData = userData; ``` ``` function detectCollison(): void { const dispatcher = physicsWorld.getDispatcher(); const numManifolds = dispatcher.getNumManifolds(); for (let...
Asus K53SV; 8 GB RAM, i3 2.2 GHertz (2 cores); Intel HD Graphics 3000; Nvidia Geforce GT 540M (1 GB); Windows 10 - box2d.ts : 27 FPS  - planck.js...
I have the same error. I use Parcel instead of Webpack. Is it possible to use Testbed with Parcel? I made a simple example in TypeScript on Sandbox: https://codesandbox.io/s/planckjs-testbed-ts-n4imh4?file=/src/index.ts ```typescript...
Asus K53SV; 8 GB RAM, i3 2.2 GHertz (2 cores); Intel HD Graphics 3000; Nvidia Geforce GT 540M (1 GB); Windows 10 - box2d.ts : 27 FPS  - planck.js...
@WMOkiishi thank you very much for your solution! Could you make your package compatible with Pyhton 3.8.10? I cannot use another version because [pybox2d](https://github.com/pybox2d/pybox2d) works with 3.8 only: ```Recent builds...
I downloaded the folder:  I set the path and reloaded VSCode:  ```json "python.analysis.extraPaths": [ "E:\\Libs\\panda3d-stubs-0.0.2" ] ``` But it does not work: 
I have a lot of folders in "Libs" that is why I created a new folder for stubs:   ```json "python.analysis.extraPaths": [ "E:\\Libs\\panda3d" ] ``` It works now! Thank...
Asus K53SV; 8 GB RAM, i3 2.2 GHertz (2 cores); Intel HD Graphics 3000; Nvidia Geforce GT 540M (1 GB); Windows 10 - box2d.ts : 27 FPS  - planck.js...