gabriabel Hi !
if I understand right, you try to focus on the object after you dropped it right ? What I see from the video is that the object disappears and the camera follows it ?
if you search in the code you should find example of the camera focus, so if you copied that, I don't think you did anything wrong, I just would like to know why your object disappears ? Feel free to send me an example projet if you will 😉
The camera only moves using inputs in my demo, or by selecting an object, but you can easily add a function to move it with input keys or ui buttons. You just have to add a function to provide a new position (offset) and distance to the camera. For example add this function and call it during an Update() loop :
public void MoveCameraTo(Vector3 targetOffset, float targetDistance, float lerp=.1f)
{
finalOffset = Vector3.Lerp(finalOffset, targetOffset, lerp);
finalDistance = Mathf.Lerp(finalDistance, targetDistance, lerp);
finalPosition = CalculateNewPosition(finalOffset, finalRotation, finalDistance);
ApplyToCamera();
}
Or remove the Lerp, if you want to set the position straight away without animation, this is just an example.