Keeping All Objects In View in Unity

addam davis
2 min readMar 1, 2023

--

Objective: Understanding what a ‘Target Group Camera’ is and how to implement one into your scene.

A target group camera is a camera design to keep a select group of objects in view.

Navigate to Cinemachine and create a target group camera.

In the inspector you can add to the group by clicking on the plus icon.

Drag your objects to assign them to the group.

Now you can adjust your camera’s view.

Once the camera is in place you can start the editor and when an object moves away the camera will automatically adjust to keep the objects in view.

You can also adjust the radius and weight of each object to better fit your scene.

Now you know how to utalize a Target Group Camera in your scenes! Don’t be afraid to experiment with your cameras and I’ll see you in the next tutorial!

--

--