Note: This tool is only available in the Terrain Tools package.
Use the Bridge tool to connect two points on the terrainThe landscape in your scene. A Terrain GameObject adds a large flat plane to your scene and you can use the Terrain’s Inspector window to create a detailed landscape. More info
See in Glossary. A simple bridge is a straight line between the two points with a steady slope. The Bridge tool’s controls let you create more complex bridges.
To draw a bridge:
The Bridge tool is brush-based. To learn about working with brushes, refer to Brushes.
Note: The Bridge tool doesn’t use the Brush Strength property. Instead, the Bridge tool uses the Strength Profile curve.
Bridge controls are all curves: the y-axis is the value of the property, and the x-axis is the percentage along the path where that value applies. For example, in the Width Profile curves, except for the horizontal curve, the bridge becomes wider along its path, because it starts at (0,0)
and goes to (1,1)
. If, however, you start the bridge at (0,5)
and go to (1,1)
, the bridge narrows. If, as you progress along the x-axis, you lower and raise the y-axis value, you create a bridge that gets wider and narrower several times.
To open the Curve window, click the curve. For more information, refer to Edit animation curves.
Note: The Loop, Ping Pong, and Clamp controls apply only to animation curvesAllows you to add data to an imported clip so you can animate the timings of other items based on the state of an animator. For example, for a game set in icy conditions, you could use an extra animation curve to control the emission rate of a particle system to show the player’s condensing breath in the cold air. More info
See in Glossary; don’t use them for bridges.
Property | Description |
---|---|
Width Profile | Sets the width of the bridge along its length. A complex curve gives a bridge that gets wider and narrower several times. A simple curve gives a bridge that gets wider in a fixed rate. |
Height Offest Profile | Sets the height from the base of the bridge. A complex curve gives an undulating surface. A simple curve gives a well paved surface. |
Strength Profile | Replaces the brush’s Opacity setting, and controls where the bridge is drawn along its path. A complex curve can create gaps in the bridge. |
Horizontal Offset Profile | Creates curved bridges by moving the bridge to the left or right of its center line. A complex curve creates a zig-zag path. |
This image shows an example of a complex Horizontal Offset Profile curve, which creates a zig-zagging path:
y=0
the curve is.This image shows an example of a complex Width Profile curve, which creates a series of connected platforms:
y=0
the curve is.