Change size of bounding box

Hi, is it possible that if I change the visibility of a mesh in an object, I could reduce the size of the bounding box of the object?
Or in order to do that, should I remove the mesh and add it back?
Is it a good method to do so?


The visibility of an object has no influence on the bounding volume computation. You have to remove it from the object hierarchy so Box3.setFromObject() does not honor it.

1 Like