camera-controls

You may have come up against limitations with <OrbitalControls/> from three.js. Camera Controls is an existing project which supports smooth transitions and has many more features.

The example below has a component with a basic implementation of camera-controls and functions equivelant to this camera-controls doc example. Your project may need specific features in which case, visit their docs and adjust the component to suit.

The camera-controls package features include first-person, third-person, pointer-lock, fit-to-bounding-sphere and much more!