Detail this asset from Unity Asset Store: Original Link
This is a paid asset, but we’ll share Third Person Camera(s) Free for you. Enjoy!!!
Third Person Camera(s) v2.2
Third Person Camera(s) provides users with an pallet of prebuilt camera controllers, and all the supporting code they need to create more.
Prebuilt Cameras Available:
• Side Scrolling Camera (NEW)
• Follow Camera
• Basic 3rd Person Camera
• Locking Target Camera
• Holding Position Camera
• Multi Camera Controller
Side Scrolling Camera (NEW)
This camera was designed to look at the target without the user needing to worry about giving it input. Simply specify how you want to look at the target, and off you go. You can still rotate and adjust the camera like you can with all the other ones.
This camera was designed to follow a target. When the target rotates, the camera will maintain a position behind the target which is configurable.
Basic Third Person Camera Controller
This camera controller functions the way you’d expect a 3rd camera controller to work. It follows behind a target and can rotate around it and zoom in and out. This was designed with the functionality that the World of Warcraft camera has in mind.
Locking Target Camera Controller
This camera controller was designed with Nintendo’s Z-targeting in mind. This camera controller uses 2 targets in order to determine where it’s location is and where it is looking. You can place a target on or near your character, and then you can target the Transforms of other objects to have it look towards them. Lerping and smoothing between targets is of course included as it is in all the controllers.
Holding Position Camera Controller
This camera controller keeps the position of the camera in a single location and looks at a target. Pretty simple sounding, however this camera can also factor in things like line of sight and zoom into the target so that you can continue seeing the target as it goes behind objects if you’d like, as well as various screen shaking additions. It takes the idea of just looking at a target to another level.
Multi Camera Controller
This is a simple camera controller that takes control of other camera controllers and offers the ability to switch between them smoothly. This is a great help if you are using the Basic 3rd person camera and want to quickly lock onto a target. With this, you just ask it to switch and it can smoothly switch to lockon mode, or instantly switch if you’d like. Note that this camera is agnostic of the state of the camera’s it is controlling.
Each camera controller is made up of a series of premade components that can be added to them. The logic inside each of the controllers is quite minimal as the component’s encapsulate most of the logic. This allows a user to quickly develop their own custom camera controllers using the functionality that this package already has developed. It also means that all the source code is neatly broken up so that if you’re interested in how something works, it’s easy to find out where it’s being done, which is great if your interest in this package is how it works.
Everything is designed for easy usage by the average individual, including those without programming skills. Each camera controller also has a plethora of features and settings that allow both novice and advanced users to adjust the camera to their needs. To start off, simply drag a camera controller script you want onto any object and set up it’s basic fields. For each camera controller, you set the camera that will be used and a target that you want the camera controller looking at. From there, you’re free to tweak any settings on the individual camera controller as you’d like to fit your needs, or to interact with its components in code.
Contact me for any questions, comments, or help if you run into any issues.
Write up here
Please note: The 5.0.0 version only contains a single example scene. Download a later version to get all example scenes. All scripts are still included and functional in the 5.0.0 version.