Camera Follow in Unity

Objective: Make the main camera move with the player.

We start developing the game but can only visualize the features in the scene windows. In order to see the player in the actual game window we have to make an adjust in the main camera.

The easiest way to make the camera follow the player is to set the camera as a child of the player. With this change the camera is going to follow the player movement and we can see it in the game window.

And that’s it!!! We have a easy camera follow feature in Unity.

--

--

--

A Software Engineer passionate about game dev and interactive products with Unity. I consider video games to be the artistic expression of programming.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Managing IAM Users and User Groups in AWS CLI

Mutable and Immutable Objects

How to scale out a Phoenix application with websocket

TASK3_RH294_DEPLOYING_A_LOAD_BALANCER_FOR_MULTIPLE_WEBSERVERS_ON_AWS_USING_ANSIBLE.

What is GitOps and why now?

Cost Optimizing for Cloud Computing (EC2/AWS)

Microservices E-commerce Boutique Tutorial — Part 4

Empty Set V2 audit by OpenZeppelin

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
Rusben Guzman

Rusben Guzman

A Software Engineer passionate about game dev and interactive products with Unity. I consider video games to be the artistic expression of programming.

More from Medium

Light Probes in Unity

Using Height Maps and Pixel Displacements in Unity

Lives and Respawn System in Unity

Using Signal Emitters in Timeline to Alter Playback — Unity