I am using a BoundingBoxGizmo and the MakeNotPickableAndWrapInBoundingBox API. What do I need to do when removing the gizmo from the scene and making the mesh that I originally wrapped not-wrapped?
Thanks,
Michael
I am using a BoundingBoxGizmo and the MakeNotPickableAndWrapInBoundingBox API. What do I need to do when removing the gizmo from the scene and making the mesh that I originally wrapped not-wrapped?
Thanks,
Michael
Cc @Cedric
Simply detach the mesh from the bounding box and dispose it.
Here is an example :