Making a Look-At Camera in Unity

Ryan Sweigart
Jun 14, 2021

--

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!

--

--

Ryan Sweigart
Ryan Sweigart

Written by Ryan Sweigart

An independent Unity Developer.

No responses yet