I created an array of boxes and set positions to them in debugDrawer.drawLine = (from, to, color) => {}
. I run Ammo.js separately like it made in Three.js in this tutorial: Intro to JavaScript 3D Physics using Ammo.js and Three.js | by Blue Magnificent | Medium
2 Likes