My primary objective is to dynamically position the camera in such a way that my object remains visible.
After researching, I came across this thread: How to Fit Camera to Object
This article mentions the need for fov
, height
, and dist
, variables which are currently unknown to me as I have not figured out how to obtain all three.
Side Note: I am fairly new to using three.js