Using Splines & Spline Components | Live Training | Unreal Engine

Using Splines & Spline Components | Live Training | Unreal Engine



In this Livestream Tutorial we’ll show how to use both Spline and Spline Mesh Components to construct an easy-to-use racetrack generator tool in UE4. Viewers will learn about custom structs, functions with local variables, using for loops, and much more!

[00:00:45] – Google Drive file – https://epicgames.box.com/shared/static/2ws205gi1nct0g5vvclgkeflvbnft8l3.zip
[00:04:13] – Creating RoadData struct
[00:06:56] – Creating initial Blueprint
[00:08:06] – Adding Spline Component
[00:08:51] – Adding pre-comments (pseudocode)
[00:11:53] – Storing number of Spline points
[00:14:41] – Building the RoadData array
[00:20:58] – Starting the Build Track Element function
[00:38:38] – Adding Construction Loop
[00:40:21] – Initial testing
[00:43:29] – Implementing Bank, Width, and Thickness
[00:55:25] – Controlling collisions for editing performance
[00:57:56] – Storing guard rail options
[01:01:28] – Constructing guard rails
[01:05:34] – Adding renderable track numbers
[01:13:39] – Making the track optionally loopable
[01:15:16] – Cleaning up properties
[01:17:17] – Testing final Blueprint
[01:21:14] – Q&A

source