Last updated: Sep 8, 2022
The Camera Pivot component is very helpful to give a camera the ability to rotate around a given point. There's a specific setup needed in terms of the camera’s hierarchy to achieve this effect, so just slapping this on a camera won’t work, do bear that in mind!
You can find the Camera Pivot at this path: Assets\Infima Games\Low Poly Animated - Modern Guns\Demo\Code\Miscellaneous\CameraPivot.cs
Distance. Distance the camera starts at.
Locked In First Person. Keeps track of the state the camera is in.
Location. The camera transform’s current location for this frame.
Lerped Location. The rotation around the pivot point that we’re currently at,
Mouse X. The “Mouse X” Axis.
Mouse Y. The “Mouse Y” Axis.