I tried to dig a hole to a ground by using CSG.
BabylonJS gives me an error: “Line 16 : 2458624 - Cannot read property ‘length’ of undefined”.
It says line 16, but I know the problem is on line 77:
var bCSG = CSG.FromMesh(ground);
Playground here: https://www.babylonjs-playground.com/#YB006J#241
Can anybody help?