Hello everyone
I have built custom mesh with the aid of triangles, and there is a problem in my design in rotation and zoom in/out. I mean when I rotate or zoom in ( or out) some of my triangles vanished. I want to know how can I refresh Bounding Box, and also how can I solve this problem
the following url is my PG ( with the tiny part of my geoJson ) and when you rotate it you can see the problem:
https://www.babylonjs-playground.com/#VKBJN#974
and this is my final problem:
I also used the following code to fix it but the problem doesn’t fix:
var vis = 10000; // visibility scaling
customMeshArr[i]._boundingInfo = new BABYLON.BoundingInfo(new BABYLON.Vector3(-vis, -vis, -vis), new BABYLON.Vector3(vis, vis, vis));