docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum SplineAnimate.AlignmentMode

    Describes the ways the object can be aligned when animating along the spline.

    Namespace: UnityEngine.Splines
    Assembly: solution.dll
    Syntax
    public enum SplineAnimate.AlignmentMode

    Fields

    Name Description
    None

    No aligment is done and object's rotation is unaffected.

    SplineElement

    The object's forward and up axes align to the spline's tangent and up vectors.

    SplineObject

    The object's forward and up axes align to the spline tranform's z-axis and y-axis.

    World

    The object's forward and up axes align to to the world's z-axis and y-axis.

    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)