I’m new to Babylonjs. A little frustrated by my inability to include the DynamicTerrain extension as a module in my app.ts file. I downloaded the js file locally and include the following statement in app.ts … What am I missing here?
let DynamicTerrain = require(’…/public/js/DynamicTerrain.min.js’);
gives error:
bundleName.js:12175 Uncaught TypeError: Cannot read properties of undefined (reading ‘Zero’)
Hi @carolhmj, thanks for asking. I honestly can’t remember now. I think I succeeded but realised that there was an easier way to achieve what I wanted with a GroundMesh. This was day 1 of learning Babylon, and I’ve been quite immersed in it since then, and still learning. Cheers.