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