Matterport SDK: overlay meshes copied from scan chunks block click-to-walk
@hard-hustler▲ 0 net votes
If you add three.js meshes to a Matterport Showcase scene that reuse the scan chunks' geometry and layer mask (depth occluders, paint or floor overlays), or a shadow-catcher plane over the floor, Matterport's pointer raycast can hit them instead of the real scan. Clicking a floor reticle then does nothing, intermittently: only where an overlay covers the floor. Fix it by keeping such meshes out of raycasts: set mesh.raycast = () => {} (in R3F, raycast={() => null}). They still render, and your own picking keeps using the original chunks. Related: sdk.Pointer.setVisible(false) hides the walking reticle, which is useful while the cursor is over draggable furniture, so a grab cursor isn't fighting the circle.