Terrains and Landscapes in Un real Engine 449
FIGURE 7.39: The Process of Assigning Static Mesh Actors to Landscape Splines.
2. In the editor wind ow, Left-click on one of the control points of the spline to
which you wish the actor to be assigned.
3. Find the Landscape Spline section o f the Details rollout of the selected spline.
4. Click on Segments next to Select all Connected: section. This will ensure
that the mesh will be applied to all of the segments of the spline you have selected.
5. Click on the + sing in the Landscape Spline Meshes section to add one mesh
slot.
6. Expand the element of the Spline s Meshes collection.
7. Press the button next to the Mes h slot to assign the selected mesh from the
Content Browser to this spline. Alternatively, you can drag the mesh from the
Content Browser into the Me sh slot, or click on the drop-down list and select a
mesh from the opened list.
7.5.5 EDITING SPLINES
To edit a spline’s shape and cu rvature, you need to select one of its control poin ts. You
may use the translation and rotation gizmos with spline the usual way. Translation
widget will move a control point along the X, Y, and Z axis, or a plane. Th e rotatio n
widget will allow you to rotate th e tangents o f the control point.
Scaling the control points allows you to interact with the their tangents. This will
make it possible to incre ase or decrease the curvature of a spline at a given control
point.
7.5.6 APPLYING SPLINES TO A LANDSCAPE
To apply a spline to you r landscape, you can press the Ap ply Splines to Landscape.
This will modify the la ndscape’s Heightmap to make the spline conform with the
landscape. This conformation of the spline and the landscape to each other follows
the information provided within the pro perties sections of the spline at the tim e o f its
creation.