docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Create a 3D mesh along a spline

    Use the Spline Extrude component to extrude a mesh along a spline to create shapes such as tubes, wires, ropes, and noodles.

    To create a 3D mesh along a spline:

    1. Create a spline.
    2. Add the Spline Extrude component to the spline GameObject. This component controls the properties of the extruded mesh. To customize the properties, refer to the Spline Extrude component reference.
    3. Adding a Spline Extrude component automatically adds a Mesh Filter and Mesh Renderer component to the GameObject. These components are necessary for all 3D GameObjects. Refer to Mesh Renderer Component and Mesh Filter Component for more information.

    Additional resources

    • Create a spline
    • Spline Extrude component reference
    • Use components
    In This Article
    Back to top
    Copyright © 2025 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)