Class Cinemachine3rdPersonFollow
Third-person follower, with complex pivoting: horizontal about the origin, vertical about the shoulder.
Inheritance
Inherited Members
Namespace: Cinemachine
Assembly: solution.dll
Syntax
[AddComponentMenu("")]
public class Cinemachine3rdPersonFollow : CinemachineComponentBase
Fields
Name | Description |
---|---|
CameraCollisionFilter | Camera will avoid obstacles on these layers. |
CameraDistance | How far baehind the hand the camera will be placed. |
CameraRadius | Specifies how close the camera can get to obstacles |
CameraSide | Specifies which shoulder (left, right, or in-between) the camera is on. |
Damping | How responsively the camera tracks the target. Each axis (camera-local) can have its own setting. Value is the approximate time it takes the camera to catch up to the target's new position. Smaller values give a more rigid effect, larger values give a squishier one. |
IgnoreTag | Obstacles with this tag will be ignored. It is a good idea to set this field to the target's tag |
ShoulderOffset | |
VerticalArmLength | Vertical offset of the hand in relation to the shoulder. |
Properties
Name | Description |
---|---|
IsValid | True if component is enabled and has a Follow target defined |
Stage | Get the Cinemachine Pipeline stage that this component implements. Always returns the Aim stage |
Methods
Name | Description |
---|---|
GetMaxDampTime() | Report maximum damping time needed for this component. |
GetRigPositions(out Vector3, out Vector3, out Vector3) | Internal use only. Public for the inspector gizmo |
MutateCameraState(ref CameraState, float) | Orients the camera to match the Follow target's orientation |