I’m currently working on a small arcade sky game and i’m struggling a bit with the physics engines.
First, I need to switch the engine back to Cannon JS in order to be able to use HeightmapImpostor which seems to work only with this engine. Am I right on this point ? What I want to do is import a mesh from blender and use it as the ground in my physics engine. Don’t know if it’s the best way to do that.
Second, as I want to switch back I tried to just replace the script import in the head of my html file and removed AmmoJSPlugin + the import of the plugin in scene.enablePhysics. I thought that doing so was ok but now, it’s like I don’t have any gravity. Do you know what’s wrong in this case?
Here is a link to my demo with Ammo JS and with Cannon I would have prefer to put it in the playground but I don’t know how to import my glb file in it.