Making a Look-At Camera in Unity

Objective: Have our camera always looking at the player.

Darren with hover-shoes?

This is super-simple to do. We simply assign a target transform in the inspector, and set it as the camera’s transform.LookAt parameter.

This effect will persist even if we change the camera angle, such as when our hero crosses into a new area!

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store