The docs do not say. Number.MAX_SAFE_INTEGER seems to be too large as the mesh does not render.
https://doc.babylonjs.com/api/classes/babylon.meshbuilder#createbox
The docs do not say. Number.MAX_SAFE_INTEGER seems to be too large as the mesh does not render.
https://doc.babylonjs.com/api/classes/babylon.meshbuilder#createbox
Please provide an example. At least the usage…
Galen
Here is an example where it does not render.
It works but your camera is probably too close from the box
https://www.babylonjs-playground.com/#3QW4J1#270
I also changed the pointlight position
Shouldn’t be too hard to figure out, just start from MAX_SAFE_INTEGER, then if it doesn’t render, check MAX_SAFE_INTEGER / 2, and keep on going like a binary search algorithm.
The box doesn’t render for me in this link either. In Firefox nor Chrome.