More Pages:

../images/architecture/2022/splinesV3/thumbs/01.jpg
3 Spline Tools
../images/architecture/2023/spline_segment/thumbs/03.jpg
Segments
../images/architecture/2023/spline_mesh/thumbs/02.jpg
Mesh Def.
../images/architecture/2023/spline_placement/thumbs/02.jpg
Placement
../images/architecture/2020/spline/thumbs/01.jpg
2A Generic BP
../images/architecture/2021/splexamples/thumbs/01.jpg
2B Gen Examples
../images/architecture/2020/railings/thumbs/01.jpg
1 Railings
../images/architecture/2023/spline_versions/thumbs/02.jpg
Spl. T. Versions

Spline Segment Dividing Nodes

These nodes can divide the spline into sections.

Content:

Introduction

Segment Dividing Nodes (Basic)

Spline Divider With Fixed Length Segments

Multiple Segments Dividers

Introduction

The Spline component is where the Meshes are going to be placed. It will already be part of the blueprint.

Total Spline Length returns the full length of the spline. You will need to add this node to every new blueprint.

  • Right click on a blank space in the Blueprint Editor
  • Start typing total spline... and it will show up as an option
  • Click on Total Spline Length to add it to the blueprint graph.

Unreal 5.0 Documentation - Splines

image
This shows an empty blueprint child. The spline will always be part of the blueprint.

image
You can divide the total length of the spline into segments and then each segment into sub segments. This can be seen in the image.

To get access to the segment nodes

  • Click on the Spline Length pin of the Total Spline Length node
  • Hold the mouse and drag it off the node.
  • Start typing Segment... until the list of available nodes appears as seen in the image.
  • Click on the node that you want to add to the blueprint

This will have the two nodes already being connected. Then continue from one of the blue pins on the right side of the new node.

image

Segment Dividing Nodes (Basic)

Spline Segment A A

This node returns two segments of equal sizes.

The Unreal 4 version of this segment has a bug and doesn't work unless it is used at the beginning of the the spline. Use the A B segment instead with both A and B set to 0.5

image

Spline Segment A B

Segment will be divided into two segments A and B. The relative sizes define their length.

image

Spline Segment A B A

Segment will be divided into two equally sized segments A and a segment B between them. The relative sizes define their length.

0.25 + 0.375 + 0.25 = 0.875

0.25 / 0.875 ==> 28 % approx.
.375 / 0.875 ==> 44 % approx.

image

Spline Divider With Fixed Length Segments

Spline Segment F A

A fixed sized Segment F is placed at the start. The rest will be occupied by Segment A.

Spline Segment A F

A fixed sized Segment F is placed at the end. The rest will be occupied by Segment A.

image

Spline Segment A F A

Segment F in the center can be defined with a fixed size. That leaves two equally sized Segments A at the end and start of the original Segment.

image

Spline Segment F A F

Start Segment F and End Segment F have fixed sizes. The rest in the center will be occupied by Segment A.

image

Spline Segment N A and A N

A fixed Amount of Meshes will be placed either at the start or end of the Segment. The remaining space will be Segment A.

These two Segment Nodes will take the Mesh On Spline node directly. You also need to define the Rotation Along Spline as described for the Placement nodes.

image

Multiple Segments Dividers

Spline Segment Divider

Divides the segment into an Amount of segments with the same size.

The Spline Segment D array can be used with a For Each Loop.

image

Spline Segment Repeater

Fits as many Segments as possible with the given Length into the original segment. The length will be adjusted to the best fit for filling the entire spline length when Scale to Fit is ticked.

The Spline Segment D array can be used with a For Each Loop.

image
Top of page