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:
- Create a spline.
- 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.
- 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.