docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor AutoDolly

    AutoDolly(bool, float, int, int)

    Constructor with specific field values

    Declaration
    public AutoDolly(bool enabled, float positionOffset, int searchRadius, int stepsPerSegment)
    Parameters
    Type Name Description
    bool enabled

    Whether to enable automatic dolly

    float positionOffset

    Offset, in current position units, from the closest point on the path to the follow target

    int searchRadius

    Search up to this many waypoints on either side of the current position

    int stepsPerSegment

    We search between waypoints by dividing the segment into this many straight pieces

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)