docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Using Spline paths

    A Spline path is a path formed by a Spline in a scene. Use a Spline to specify a fixed course to position or animate a CinemachineCamera. Use the Spline Dolly behaviour to make your CinemachineCamera follow a Spline path.

    Editing a dolly path in the Scene view

    To create a Cinemachine Camera with a dolly path:

    1. In the Unity menu, choose GameObject > Cinemachine > Dolly Camera with Spline. A new Cinemachine Camera and spline appear in the Hierarchy.

    2. In the Hierarchy window, select the new dolly spline GameObject.

    3. In the Inspector or in the Scene View, add and adjust waypoints.

    Any Unity spline can be used as a path in Cinemachine. Just drag it into the Spline Dolly Spline property field, and immediately the CinemachineCamera will start following the spline.

    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)