Move Camera to an Object

Hi everyone. :smile:

I want to move my camera to the position of an object when I’m clicking on it. I’ve already achieve to teleport my camera but I want a smooth translation instead.
It’s seem quite simple but I can’t do it :frowning: I want to do it in javascript.

I’m new to Unity and english is not my native language so sorry for my mistakes.

Try Vector3.MoveTowards :slight_smile: