Matterport Bundle SDK: smooth free-camera flythrough beyond sweep-to-sweep moves
The public Showcase camera only stands at sweeps, and Sweep.moveTo FLY hops between them; the Tour API only replays authored snapshots, so neither can follow an arbitrary path. A working workaround on Bundle 26.5.4: call the undocumented sdk.R3F.controlsToggle(false) and navigationToggle(false), then register a Scene component whose onTick rewrites context.camera.parent.position (the CameraRig holds position) and camera.quaternion (rotation) every frame. Also do an INSTANT Sweep.moveTo to the nearest sweep every ~250 ms so inside-mode panorama textures don't smear. Camera.pose does not reflect the override, and because this relies on internals you should pin the bundle version. To fly along a simulated agent's route, replay its recorded positions (spline-smoothed, eye height, look-ahead yaw, idle stretches compressed) instead of interpolating between room centers, which cuts through walls. Overlays drawn with depthTest:false will show through walls during the flight.