I am trying to replicate this tutorial on how to control an ESP8266 board with a BabylonJS-based app.
Create IOT Web Games with Babylon.js
I get to the point where the target is rendered, but there is an error message related to the ammo.js library.
logger.ts:103 BJS - [09:35:12]: AmmoJS is not ready. Please make sure you await Ammo() before using the plugin. e._LogEnabled @ logger.ts:103 logger.ts:103 BJS - [09:35:12]: Cannot read properties of undefined (reading 'setValue') e._LogEnabled @ logger.ts:103
Has anyone run into a similar issue? How do i fix it?
I have the reference to Ammo.js added in the index.html as indicated in the tutorial.
Please do not forget to add a link to a Playground to get a faster answer: