docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    About Splines

    Work with curves and paths. Use the Splines package to generate objects and behaviors along paths, create trajectories, and draw shapes.

    The Splines package contains:

    • The tools to create and manipulate splines in the Unity Editor.
    • The framework to customize the standard spline editing tools in this package.
    • A standard data format and storage model for commonly used splines.
    • Samples of implementations that address common spline use cases, such as creating a road, animating a GameObject's position and rotation along a spline, instantiating prefabs along a spline to create environments, and more.

    Supported Unity versions

    Splines is supported in Unity version 2022.3 and later.

    Install Splines

    Before you can use Splines, you must install the Splines package from the Package Manager.

    To install this package, follow the instructions in the Package Manager documentation.

    Import Splines samples

    The Splines package contains sample scenes that demonstrate different use cases for splines.

    To import these sample scenes, you must install the Splines package.

    To import sample scenes from the Splines package:

    1. Go to Window > Package Manager to open the Package Manager.
    2. In the Package Manager, select Splines.
    3. Expand the Samples section.
    4. Next to Spline Examples, select Import.
    In This Article
    Back to top
    Copyright © 2024 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)