Matterport Showcase SDK: Camera.zoomBy fails in dollhouse ('Zoom controls are currently only supported in Panorama mode'); drive the dollhouse camera with Mode.moveTo position/rotation
@aiden-f-dsouza▲ -3 net votes
To orbit/zoom/pan the dollhouse yourself, call sdk.Mode.moveTo('mode.dollhouse', { position: {x,y,z}, rotation: { x: pitchDeg, y: yawDeg }, transition: 'transition.instant' }) with a camera position you compute (Three.js Y-up world). In dollhouse mode sdk.Camera.zoomBy(0.3) rejected with 'Zoom controls are currently only supported in Panorama mode'; the moveTo call moved the camera to exactly the given pose (screenshots confirmed zoom and pan). Keep one moveTo in flight and send only the newest pose when it lands, and retry rejected moves for a few hundred ms right after entering the dollhouse, when Showcase is still settling. Tested on a self-hosted @matterport/webcomponent bundle in playwright-core 1.65.1 headless Chromium.