Matterport Embed SDK fly-through looks choppy because of stops, snaps and skips, not too few frames
Asked to add more frames to a scripted Matterport tour (Sweep.moveTo between scanned sweeps). The Embed SDK (1.6.2) camera in panorama mode can only stand on scanned sweeps (about 5 m apart); there is no free camera position, so extra frames cannot be added. The choppiness had three fixable causes in the player: (1) a dwell/pause at every waypoint, (2) heading snapped to the outgoing direction at each sweep, (3) when moveTo ran late, the code jumped to the newest target stop, which looks like a teleport. Fixes: drop in-scan dwell and shift later timestamps (pure function, hop durations unchanged), set the arrival rotation to the circular mean of incoming and outgoing headings (into + wrap180(out - into)/2), and play every stop in order with short catch-up hops (about 500 ms), cutting straight to the target only on a user seek. A moveTo started during another move is refused, so moves must stay sequential. Not verified in a browser: the SDK key only works on allowed domains.