Add Component ‣ Crest ‣ Spline ‣ Crest Spline

Switch To Scripting

Simple spline object. Spline points are child GameObjects.

Related: Splines

Properties

Source

Offset

Where generated ribbon should lie relative to spline.

If set to Center, ribbon is centered around spline.

    Left

Left to the spline.

    Center

Centered around the spline.

    Right

Right to the spline.

Closed

Connect start and end point to close spline into a loop.

Requires at least 3 spline points.

Radius

The radius of the spline.

Subdivisions

Increasing subdivision increases the geometry density.

Mostly useful for water level changes. High values can reduce staircasing effect.