Struct CinemachineTrackedDolly.AutoDolly
Controls how automatic dollying occurs
Inherited Members
Namespace: Cinemachine
Assembly: solution.dll
Syntax
[DocumentationSorting(DocumentationSortingAttribute.Level.UserRef)]
[Serializable]
public struct CinemachineTrackedDolly.AutoDolly
Constructors
| Name | Description |
|---|---|
| AutoDolly(bool, float, int, int) | Constructor with specific field values |
Fields
| Name | Description |
|---|---|
| m_Enabled | If checked, will enable automatic dolly, which chooses a path position that is as close as possible to the Follow target. |
| m_PositionOffset | Offset, in current position units, from the closest point on the path to the follow target. |
| m_SearchRadius | Search up to how many waypoints on either side of the current position. Use 0 for Entire path |
| m_SearchResolution | We search between waypoints by dividing the segment into this many straight pieces. The higher the number, the more accurate the result, but performance is proportionally slower for higher numbers |