Cinemachine
![]() | CinemachineTrackedDollyAutoDolly Structure |
Controls how automatic dollying occurs
Namespace: Cinemachine
Assembly: Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)

[SerializableAttribute] [DocumentationSortingAttribute(7.2f, DocumentationSortingAttributeLevel.UserRef)] public struct AutoDolly
JavaScript supports the use of structures, but not the declaration of new ones.
The CinemachineTrackedDollyAutoDolly type exposes the following members.

Name | Description | |
---|---|---|
![]() | CinemachineTrackedDollyAutoDolly | Constructor with specific field values |

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 |
