Making an object come to you

I want to make a script where, if you’re looking at a certain object and you left click, it comes to right in front of the character model and stays there until you left click again to throw it out. Basically the same system used in Half-Life 2 to let you pick up and throw small objects. What would be the best way to do this?

You could have a script on the object using Transform.LookAt and Transform.Translate to move.

Also, you could use Vector3.Lerp, or even Unity’s Navigation system.