Create a spline
Splines are paths made up of control points called knots. Segments connect knots to other knots. You can place knots onto the surface of objects or align them to the grid. Knots can include tangents which control the curvature of the segment at that knot.
To create a spline:
Note
Before you add a knot to a spline, the spline's default location is 0, 0, 0. After you create the spline's first knot, the spline takes that knot's location.
- Do one of the following:
- Go to GameObject > Spline > Draw Splines Tool.
- In the Hierarchy window, right-click and select Spline > Draw Splines Tool.
Click in the Scene view to create knots for the spline's path to follow. If you want to add a curve to the knot's segment, click and drag to create a knot with tangents.
Tip
When you use the Draw Splines Tool, if you click on the surface of a GameObject, the knot snaps to that surface. Otherwise, the knot snaps to the grid.
- To exit the Draw Splines Tool, select a tool in the Tools overlay or press Escape.