Is it possible to make a software delete of the camera OrbitControl in THREE.js to show all objects in the scene?

Hi all.

Is it possible to make a software "moving" the camera (on button) along the axis of the camera view to show all objects in the scene, so they got into the field of view of the camera? (Show All)

Not found the method for camera or for orbitControl-and. Experimented with frustum bindingSphere, but also to no avail.
Read questions on SO, but there still are some half-measures.
Or maybe there's an explanation of why this cannot be done? Somehow, this task did not seem difficult initially, but a day to decide and don't understand. (
April 4th 20 at 13:25
1 answer
April 4th 20 at 13:27
Solution
Found a good control to replace OrbitControl:

https://github.com/yomotsu/camera-controls

There are additional functions fitto, zoomto and other utility, which is in OrbitControl.

Find more questions by tags three.js