Possible bug with .instantiateHierarchy()

Upon moving the camera around the cloned? mesh Disappears, is this to be expected?

position where the left model disappears:


position where the right model disappears:


Unfortunately this is not a bug (well kind of)
instantiateHierarchy works as intended.

Your problem comes from the fact that the clone meshes are still influenced by the central skeleton. So their bounding boxes are still in the center.

The best solution for you is to force the meshes to avoid the frustum clipping:

1 Like