Cinemachine
![]() | CinemachineColliderResolutionStrategy Enumeration |
The way in which the Collider will attempt to preserve sight of the target.
Namespace: Cinemachine
Assembly: Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic enum ResolutionStrategy
Cinemachine.ResolutionStrategy = function(); Cinemachine.ResolutionStrategy.createEnum('Cinemachine.ResolutionStrategy', false);
Members| Member name | Value | Description | |
|---|---|---|---|
| PullCameraForward | 0 | Camera will be pulled forward along its Z axis until it is in front of the nearest obstacle | |
| PreserveCameraHeight | 1 | In addition to pulling the camera forward, an effort will be made to return the camera to its original height | |
| PreserveCameraDistance | 2 | In addition to pulling the camera forward, an effort will be made to return the camera to its original distance from the target |
See Also