#camerafollow #2dcamerafollow #playercamerafollow #2dcamera #unity2d
In this video tutorial, you will learn how to implement a 2d camera that follows the platform player when the player is moving.
You will get an idea about the following things:
- Use of LateUpdate
- Camera offset calculation
- Lerp for smooth movement
- Camera follows target
Here you have useful links to the topics those used in this video:
Vector3.Lerp
https://docs.unity3d.com/ScriptReference/Vector3.Lerp.html
MonoBehaviour.LateUpdate
https://docs.unity3d.com/ScriptReference/MonoBehaviour.LateUpdate.html