Enum CinemachineOrbitalTransposer.Heading.HeadingDefinition
Sets the algorithm for determining the target's heading for purposes of re-centering the camera
Namespace: Cinemachine
Syntax
public enum HeadingDefinition : int
Fields
Name | Description | Value |
---|---|---|
PositionDelta | Target heading calculated from the difference between its position on the last update and current frame. |
0 |
Velocity | Target heading calculated from its Rigidbody's velocity. If no Rigidbody exists, it will fall back to HeadingDerivationMode.PositionDelta |
1 |
TargetForward | Target heading calculated from the Target Transform's euler Y angle |
2 |
WorldForward | Default heading is a constant world space heading. |
3 |