Move the camera in the direction of an object

Hello to all,
I would like to move automatically the camera to a selected object, up to the minimum distance.
I would also like the speed of movement decreases with the distance.

I point the object with LookAt, and i have the code too decrease the speed whit the distance, but i am sure that i wrong something.

Can you help me?
Thanks.

do some searches for Lerp lookat, or lookat over time

Also post the code you have (using code tags). If it is not doing what you want, say exactly what is wrong. Your post seems to say I want to do “This”. I have code that does “This”, But I am sure its wrong. Is it doing what you want? Is it just a feeling that its wrong? :slight_smile: