How to make an object point in the direction it's heading along a path
- Click on the Align to Spline tag on your Pyramid in the object manager.
- Turn on the “Tangential” option by clicking on the checkbox in the Attributes Manager.
- If your object is pointing in the wrong direction, adjust the "Axis" setting in the Attributes Manager.
- If you find that your object is flipping as it moves along the path, you need to add a Rail Spline.
To Create a Rail Spline
- If your spline is 2D (i.e. it exists in only one plane)
- Ctrl-Drag a copy of your spline in the object manager.
- Rename the copy "Rail Spline"
- Move your Rail Spline beside your original spline object so that it looks like the rails of a roller coaster.
- Make the Rail Spline a child of the original spline object
- If your spline is 3D (i.e. it isn't flat)
- Select the spline object.
- Go into Points mode
- Rt-Click and choose the "Create Outline" tool.
- In the attributes manager, turn on the "Create New Object" option
- In the viewport, click and drag left->right to create an outline of your spline
- Switch back to your move tool.
- Rename the new spline "Rail Spline"
- Make the Rail Spline a child of the original spline object
To Use a Rail Spline
- Select the "Align to Spline" tag on your object
- Ensure that you have a Spline in the Spline Path field and that Tangential is turned on.
- Click on the picker arrow next to "Rail Spline"
- Select the Rail Spline object that you just created.