Not sure if this is an oversight or outdated docs-
I am hiding some of the controls on a BoundingBoxGizmo by setting properties on their meshes. In the playground getScaleBoxes() works fine for this purpose.
But when I try to do this in my app the property does not exist. I am using latest @babylonjs/core.
This monkey business seems to work but it’s nasty:
const boxes: BABYLON.AbstractMesh = (this.boundingBoxGizmo as any)._scaleBoxesParent.getChildMeshes();
I have been living in the past. I have been importing @babylonjs/core and updating the same and merrily plodding along thinking this was the latest and greatest.
When I import babylonjs I get a BoundingBoxGizmo that has this property. Unfortunately, this breaks babylonjs-hook. Will figure this piece out later.