My game requires the user to be able to focus on objects just like wat happens when we press 'F' in the editor.The one place im stuck is how would i calculate the distance of the camera from the object , as the objects might differ in size?
Any hellp would be appreciated!