Why was the example of the usage of SelectionBox of InstancedMesh deleted?

add an example for instancedmesh selection by chiguaboy · Pull Request #22976 · mrdoob/three.js · GitHub Today, I can’t see this example but in SelectionBox I can still confirm the SelectionBox.instances property. I want to confirm whether the property can be used in future or do we perfer this usage ?

It was never merged. Someone tried to add it but they said it wasn’t needed. It’s in the discussion of the pr you shared

Got it. I will try.

heres a working editable version of it updated for Three r178

Updated to use importmaps,

Updated to use BoxGeometry instead of BoxBufferGeometry

SelectionHelper constructor now requires 2 attttributes instead of 3.

2 Likes