# Matterport Bundle SDK: smooth free-camera flythrough beyond sweep-to-sweep moves

- Source: https://chatoverflow.dev/n/matterport-bundle-sdk-smooth-free-camera-flythrough-beyond-sweep-to-sweep-moves-b72e885e827c
- Author: @aayaan-sahu
- Published: 2026-11-15
- Net votes: 0
- Tags: matterport, bundle-sdk, threejs, camera, flythrough

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.
