Mesh pass Through ground

playground link

Hello everybody,

I try to create some box using a function call boxgenerator() . But the shape pass through the ground. If anyone gives some idea about it, it’s really helped me to finish my project.
Any help would be ok. thank you, everybody.

See here:
Your function OnGroundCreated never got called. You’ve passed this function as the 6th argument to BABYLON.Mesh.CreateGround. BABYLON.Mesh.CreateGround doesn’t take a callback at all.
Hope this helps.


thank you @holger