How to make Splines using Blueprints | Spline Meshes | Unreal Engine 5 Tutorial

  Рет қаралды 61,136

Kekdot

Kekdot

Күн бұрын

👨‍🏫 My Patreon link:
/ kekdot
Download Project Files | Premium Tutorials | Courses
🕹️ Get our Game on Steam | The Anomaly Project:
store.steampowered.com/app/29...
---
In this tutorial video I will explain how you can create splines/ spline meshes in Unreal Engine using blueprints.
Covered topics in this video:
00:00 - Introduction - Result showcase
04:30 - Taking a look at the blueprint
09:00 - Outro
#UnrealEngine #Tutorial #Splines
---
Welcome to Kekdot!
👨‍🏫 Our Patreon - Download Project Files | Premium Tutorials | Courses:
/ kekdot
🛒 Our Unreal Engine Marketplace Templates:
www.unrealengine.com/marketpl...
👾Join our Discord:
/ discord
📆 We upload videos on a weekly basis
📰 Follow us on:
Instragram: @kekdotyoutube
Twitter: @kekdot
Reddit: @kekdot

Пікірлер: 98
@Kekdot
@Kekdot 8 ай бұрын
Hey guys, 👨‍🏫 My Patreon link: www.patreon.com/kekdot Download Project Files | Premium Tutorials | Courses 💦 Get our Game on Steam | Kekdot Center: store.steampowered.com/app/1487180/Kekdot_Center/
@blackivy011
@blackivy011 19 күн бұрын
Literally so simple and straight to the point. 9 minutes instead of these 30 minute to 1 hour videos I see explaining useless info. Bravo and thank you.
@nerdyunrealdev
@nerdyunrealdev Жыл бұрын
Hey, so I really appreciate that this tutorial shows how to make a really reusable blueprint that considers how not to warp a mesh. But it would be really helpful if there was an update which showed the process of creating the blueprint, so we could see the local variables being made, how you got a static mesh variable with a brick image, and more! I'm sure those who are more new to blueprints would also appreciate seeing how variables are made and how their type is changed! Again, the blueprint is great, it would just be helpful to see more of the process!
@makememad67
@makememad67 2 жыл бұрын
Amazing video. I had originally made a simple BP and I had to eyeball the length of each spline point so that it wouldn't stretch. This BP is fixes that issue entirely. Thank you!!
@ilarinikkarikoski4765
@ilarinikkarikoski4765 Жыл бұрын
Thank you for this tutorial! It allowed me rework my own blueprint to be more dynamic. Have a nice day!
@susseratal
@susseratal Жыл бұрын
This is absolutely incredible blueprinting work, definitely going to have to give this a try
@jrfernandes3409
@jrfernandes3409 Жыл бұрын
Excellent tutorial! Congratulations on the wonderful work.
@buffalokills9019
@buffalokills9019 Жыл бұрын
Super helpful. Thank you!
@MarkosDarkin
@MarkosDarkin 5 ай бұрын
Thank you! this was really helpful with helping me catch an annoying behavior of the Spline in Unreal Engine 5 :)
@christophe1584
@christophe1584 10 ай бұрын
Thanks for sharing, perfect tutorial
@steve_rico
@steve_rico 7 ай бұрын
Very neat!
@Shikigami6
@Shikigami6 Жыл бұрын
Thank you so much for giving this code away for free. You are a big contribution to this awesome community!
@IamNeighborlee
@IamNeighborlee 8 ай бұрын
Its not free, where are you seeing that ?
@Kekdot
@Kekdot 8 ай бұрын
@IamNeighborlee He means the tutorial where I code it (give the code away for free). He does not mean the project files. Those you can download on my Patreon. Or you simply for free follow the video
@lunarpooch4398
@lunarpooch4398 5 ай бұрын
Beautiful
@arimpa3126
@arimpa3126 Жыл бұрын
Hey! Very cool blueprint, thanks! Though my meshes, although i test simple cylinder, when i add a new point and make a turn, gets distorted, and I am pretty sure my nodes are correct. Do you have any clue about where could be the problem?
@TKEnvironments
@TKEnvironments Жыл бұрын
Amazing tutorial, clean and efficient. Love it, thanks a bunch!!
@goldennboy1989
@goldennboy1989 Жыл бұрын
How does the spline mesh know which spline it is attached to? I don't see any node where you input your spline component to your spline mesh component`?
@jonahbader8805
@jonahbader8805 2 жыл бұрын
You could have saved some headache by expanding the "Local Variables" Section on the left in the blueprint. Took me a while to figure out what that Set Loop Index was!
@VisQo-Herold
@VisQo-Herold Жыл бұрын
Helped me Thx!
@aayudhparab9488
@aayudhparab9488 Жыл бұрын
Best comment here, video is amazing but yea wish that was just expanded
@Digital_Guerrero
@Digital_Guerrero Жыл бұрын
Do you guys have a link that may show how to create the local variable?
@SGA_Speedy
@SGA_Speedy Жыл бұрын
@@Digital_Guerrero I'm also stuck at this point
@smartem3000
@smartem3000 Жыл бұрын
@@SGA_Speedy After you create "FoorLoop" -> Right Click on it's "Index" -> "Promote to Local Variable" and then you can use it in Blue Print, dragging it from the "Local Variables" Panel
@rossgribben4870
@rossgribben4870 Жыл бұрын
how would i add a variable to adjust the rotation of the mesh that is repeated along the spline? When I try to change the relative transform rotation on the 'add spline mesh component' it changes the rotation of the spline not the mesh on the spline. Any ideas?
@mirogaming08
@mirogaming08 2 жыл бұрын
i need help on ue5 weapon system i always trying to look for something but its old and doesnt work so im asking if you can make a tutorial on that?
@DUMPLLC
@DUMPLLC 6 ай бұрын
is there a way to do this but instead of a single mesh as the input u can use a full blueprint? Using it to create a tunnel and would love to be able to place lighting in the segments
@hotsauce7124
@hotsauce7124 Жыл бұрын
Question: Hello are there tutorials describing how to create controls to animate/Keyframe the "Spline Points" in Sequencer?
@Snake420
@Snake420 4 ай бұрын
can this kind of spline be used to connect 2 objects carried by a player character? for example the spline comes out of the character's backpack and connects to something in the player's hand?
@alexrybin3798
@alexrybin3798 Ай бұрын
Thanks a lot for the tutorial, i got bonus question Is there a way to animate position of start and end point? so my mesh will move along spline.
@Staglaitor
@Staglaitor Жыл бұрын
Thanks - maybe I overlooked it - but are there primitives from splines - such as: circle, square, ellipse, triangle?
@wattro
@wattro 10 ай бұрын
@kekdot how do you solve for distorted meshes that some users see? The pipes you have all bend and contort nicely, but when I tried to reproduce your results, my meshes don't turn and rotate properly.
@coconutfriedshrimp
@coconutfriedshrimp 9 ай бұрын
had the same issue, I changed the pivot point of my static mesh and made sure it was centered on all the axis on maya (x,y,z), it solved my problem. And make sure you have enough edge loops on your mesh, otherwise it wont bend nicely.
@sirhom
@sirhom 4 ай бұрын
Hi Kekdot, and thanks for this great tutorial. I have a question though, I hope you have a short time to answer it, it'd be a nice addition to your already great work. So here it is: When you enable your Spline Mesh Component collisions, how do you get its hit or overlaping results. I promoted the created Component to variable and used its hit and overlap nodes, they never seem to react to anything. Other object react well to the spline mesh, being corrctly blocked or physicaly bounced, but I can't get the the spline itslef to react. Other objects actually seems to react to the mesh iterations, not the spline mesh component. So, how would you do to get the spline component to let's say emit a sound when it's hit by something?
@ParikshitBhujbal
@ParikshitBhujbal 8 ай бұрын
How to edit this in a PCG Graph where all my nodes are? All the nodes here are in the construction script of a Blueprint , I build a fence using this but now I want to make a path through my fence in my PCG Graph Can anyone help please?
@artadecram_9624
@artadecram_9624 Жыл бұрын
Thanks for solution! As we know -in common 3d-editor - like maya or 3ds max - we can smooth spline or rebuild it that means that instead 5 point inside we will get 10 ones - can we do it in Unreal engine? What operations can i do with spline in UE?
@kazzinga9605
@kazzinga9605 2 ай бұрын
hey, thanks a lot for this video, it's really helpful. But I have a problem, i tried to remake it at my project but it doesn't update at runtime, usually i have to set true and then again off a variable and it updates. But the real problem is when i try to make the spline go horizontally it breaks the mesh and start to rotate the mesh in strange ways
@zodigamesstudio
@zodigamesstudio 3 ай бұрын
I'm spawning this spline on run time to create a bridge but it does not spawn with any material.
@yusufbulut4312
@yusufbulut4312 6 ай бұрын
can ı use it in seuqancer?
@boomshroomgoonmoon
@boomshroomgoonmoon 6 ай бұрын
How do you get the set forward axis node ?
@HAMSTERKILLER666
@HAMSTERKILLER666 6 ай бұрын
You can use the dimensions of the mesh's bounding box for the section length
@the_untextured
@the_untextured 3 ай бұрын
Would there be a way to do this without blasting draw calls through the roof?
@dubjason3689
@dubjason3689 4 ай бұрын
How come when I add the spline it doesnt attach itself to the ground?
@dicktracy4612
@dicktracy4612 10 ай бұрын
Thank you for creating this! I recreated this spline blueprint to use for a road setup but the mesh is ripping apart as I curve the spline on the inside of the curve, any idea what would be causing this and how to fix this deformity?
@pedrorosa5782
@pedrorosa5782 Жыл бұрын
Get actor scale 3d doesnt have 3 returns for x, y and z... maybe because im using UE5.1? The node now returns a vector so its giving an error (vectoor not compatible with float). This is in the scale the spline part at the beggining. would apreciate some help 👌
@oskarrelax1
@oskarrelax1 Жыл бұрын
If you're still looking for the answer then right click on the output and click Split Struct Pin to get x y z outputs
@Medwedius
@Medwedius 2 жыл бұрын
Is there a way to control the Spline Points in the Sequencer (animate)? Or even better, control the Spline Mesh with a Control Rig?
@Kekdot
@Kekdot 2 жыл бұрын
Never done that before
@arthemisdesign1831
@arthemisdesign1831 Жыл бұрын
Hi, I faced such a problem when I use a spline, it deforms the meshes that I selected. For example, if I chose a cube, the spline will only spawn one side of the cube, and when I use a sphere, for example, spline flattens it. Could you help me to solve this problem thanks in advance)
Жыл бұрын
Had the same problem and after checking 5 times my code i realised that i put a Divide node instead of an Add node in the "Get End Pos/Tangeant" function (7:35 in the video)
@DimDell
@DimDell Жыл бұрын
@ You save my time! Thanks dude!
@user-uw3bq7cp7b
@user-uw3bq7cp7b 2 ай бұрын
Cool video! But I got a problem, after I packaged the game, spline meshes are missing.
@sangot
@sangot Жыл бұрын
Pretty good solution. You can make another public variable(ESpline Mesh Axis) in order to make the same blueprint compatible with all axis. You would have to make the variable i just said, connect it to the "Set forward axis" and at the beginning at the branch "Is scallable" on true add a switch with this new variable and and set Selection length for each actor scale
@rossgribben4870
@rossgribben4870 Жыл бұрын
my solution was to add a select node after get actor scale 3d and use the in forward axis enum as the wildcard, very clean with no extra variables. edit: i misunderstood your comment at first but will leave this here as another good way to add to the bp
@kamitekeiichi2376
@kamitekeiichi2376 Жыл бұрын
umm i am new and just started learning so i wanted to ask about the variables you have created. your static mesh variable for instance doesnt look like what i am getting here. also can you please show the functions/ local variables? pardon if i am asking something weird. just started blueprints you see.
@jynxbot352
@jynxbot352 8 ай бұрын
This video helped me with that too, I'm pretty new to blueprints - around the 3:08 mark - kzfaq.info/get/bejne/hcqaqc-nrLi9gnk.html&ab_channel=UnrealEngine
@jynxbot352
@jynxbot352 8 ай бұрын
Hey, how did you get a function for "Set Start and End"? A little stumped since I'm newer at making blueprints.
@DanMiller.
@DanMiller. 8 ай бұрын
Try disabling the "context sensitive" checkbox when searching for the node
@me-hz7gy
@me-hz7gy 7 ай бұрын
Using UE5.3 , get start pos/tangent and get end pos / tangent functions don't seem to be available with or without context sensitivity@@DanMiller.
@XanaPc2024
@XanaPc2024 5 ай бұрын
You have to make the functions yourself. which he shows if you watch a bit further along the video :)
@GZKilla1
@GZKilla1 Жыл бұрын
is there anyway to make it deform terrain like for roads rail roads etc?
@rossgribben4870
@rossgribben4870 Жыл бұрын
there is a built in landscape spline tool for this
@ThePedrodmelo
@ThePedrodmelo 6 ай бұрын
Awesome tutorial, thank you. I'm not being able to make collision work though. Does anyone know what could have been wrong?
@rojakstudios
@rojakstudios 6 ай бұрын
I had the same issue. In the "Add Spline Mesh Component," scroll down to the Collision Presets. By default, it's set to "No Collision." I changed it to "BlockAll," and it worked for me.
@AdeptusIncompetus
@AdeptusIncompetus Ай бұрын
You have to turn these into static meshes afterward correct?
@Kekdot
@Kekdot Ай бұрын
No all ready for use
@thomasd19587
@thomasd19587 Жыл бұрын
I could make it thx. Is it possible to get a gap between the meshes while making the spline?
@thomasd19587
@thomasd19587 Жыл бұрын
and how to disable that the Mesh deform by Curve?
@TheNapkuchen
@TheNapkuchen 10 ай бұрын
ty Kekdot. Tried making a spline wall and been banging my head against ... THE WALL ... haha ... 😢
@PhilipPetrunak
@PhilipPetrunak 3 ай бұрын
Hey. I was having a heck of a time trying to make this work. Lots of shit simply didn't work. Then I tried to simply delete the spline and replaced it with a brand new one and the code worked perfectly. Hope that helps someone else!
@user-ep6ky1rf2j
@user-ep6ky1rf2j 9 ай бұрын
thank you so much for this amazing tutorial!!! And would appreciate so much if anyone could help me with this question: can't really find "Set Forward Axis" component in UE5.2😢
@coconutfriedshrimp
@coconutfriedshrimp 9 ай бұрын
i think you have to get it from the 'Add Spline Mesh Component' node
@brocktomaskie9216
@brocktomaskie9216 Жыл бұрын
At the risk of asking a dumb question, how come the loop index variable has to be a local variable?
@snowbeat936
@snowbeat936 Жыл бұрын
Because the usefulness of having a public variable is to be able to modify it by the programmer, in this case it is taken automatically based on the length of the spine
@unrealstudent2239
@unrealstudent2239 Жыл бұрын
i want to make a spline like a tunnel that i can walk inside of how do i do that?
@tomwilliams6483
@tomwilliams6483 7 ай бұрын
UnrealityBites has a series on Building Structures that includes building a tunnel along a spline. He talks about making the tunnel walls capable of collision so you can walk inside them like a tunnel but not through them like walls. I think it's what you want. I believe it's somewhere around #8 in the series, give or take a few. Worth watching the lot just to understand how it works.
@unrealstudent2239
@unrealstudent2239 7 ай бұрын
thanks a lot!@@tomwilliams6483
@user-wz5gw8ef3w
@user-wz5gw8ef3w 4 ай бұрын
select a mesh? show us how to make one please :D when I make a cube its not even possible to select
@FPChris
@FPChris 7 ай бұрын
I need a spline tutorial for a VR teleport arch
@richardchipstick235
@richardchipstick235 Жыл бұрын
Hi, I think this has already been asked and maybe answered, but I'm still at a loss, great little tutorial though, but where or how do you create that original ..BP_BaseSpline that you drag into the scene and alter the settings of, quite new to this, any help would be most appreciated, thank you very much.
@vincentsnijders3551
@vincentsnijders3551 Жыл бұрын
also stuck here :/ did you find a solution
@ilarinikkarikoski4765
@ilarinikkarikoski4765 Жыл бұрын
I hope you found your answer back in the day, but for any other beginners here's how. You create that "BP_SplineBase" like shown and instructed on the video. Then you create a child blueprint of that, which you then drag into a level. When blueprint's variables are set true for "expose on spawn" and "Instance editable", you then see those settings and can alter them inside the level editor.
@Michel2003g
@Michel2003g 6 ай бұрын
dutch moment
@RenaiSSance_
@RenaiSSance_ Жыл бұрын
why does it start lagging from 80 to 20 fps
@RenaiSSance_
@RenaiSSance_ Жыл бұрын
pls help...
@Kekdot
@Kekdot Жыл бұрын
I myself don’t experience this. Not sure why you are experiencing this. This is a very very lightweight blueprint so must be something else in your process.
@brumakpker
@brumakpker Жыл бұрын
I believe it's a bug, I followed this tutorial on 5.1 and it was extremely slow, I tried it on 5.03 and its working without lag.
@3watermelon824
@3watermelon824 Жыл бұрын
@@brumakpker me too
@leandrrob
@leandrrob 2 ай бұрын
why dont you start by showing how to create the f.. spline????
@trentdubb05
@trentdubb05 6 ай бұрын
I appreciate the tutorial.... but don't like how you kept out a few details so we go buy your patreon to see the rest of your blueprint. completely wasted my time...
@svgbhax1764
@svgbhax1764 7 ай бұрын
Great F***king job.... "you can follow along" but the guy is not showing everything like local vars etc...... well I'm not subbing for Patreon, I lost 1h to figure this shit out ! "Thanks" for the tutor !!!
@smokysmoka
@smokysmoka Жыл бұрын
Thank you so much mate. There is some way to modify the espline in game?
@Kekdot
@Kekdot Жыл бұрын
Simply expose all functionality to the users and it can be controlled in game
@smokysmoka
@smokysmoka Жыл бұрын
@@Kekdot thank you! You know if there is some tutorial about that?
@coffeediction
@coffeediction Жыл бұрын
not sure whats wrong, its all 1:1 but mesh deforms to a plane thickness, im not setting its scale anywhere, the mesh is 40.4m long and its a pole with 2 cables each side
@feloneouscat1
@feloneouscat1 Жыл бұрын
Does your mesh have more than 4 vertices in it? If it’s just a plane (four vertices), you don’t have enough subdivisions to make it happy.
How To Make An Object Follow A Spline Path - Unreal Engine Tutorial
16:11
EVOLUTION OF ICE CREAM 😱 #shorts
00:11
Savage Vlogs
Рет қаралды 11 МЛН
Идеально повторил? Хотите вторую часть?
00:13
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 8 МЛН
Son ❤️ #shorts by Leisi Show
00:41
Leisi Show
Рет қаралды 7 МЛН
Каха заблудился в горах
00:57
К-Media
Рет қаралды 10 МЛН
Unreal How to Make a Mesh follow a SPLINE
9:08
The Game Dev Cave
Рет қаралды 29 М.
choosing a game engine is easy, actually
15:08
samyam
Рет қаралды 391 М.
How to Make Roads with Splines in Unreal Engine 5
11:25
Gorka Games
Рет қаралды 88 М.
Unreal Engine 4 Tutorial - Splines - Spline Meshes
21:21
Ryan Laley
Рет қаралды 217 М.
100 Unreal Engine Tips you 100% don’t know yet!
29:50
Kibibyte
Рет қаралды 2,5 М.
I solved Unreal Engine's Package Size Problem...
14:35
Cobra Code
Рет қаралды 65 М.
How to Move a Spline at Runtime in Unreal Engine 5 | Part 2
15:00
Why Unreal Engine 5.4 is a Game Changer
12:46
Unreal Sensei
Рет қаралды 1,2 МЛН
Why Solo Developers Should Use Unreal
10:55
Thomas Brush
Рет қаралды 349 М.
skibidi toilet 76 (full episode)
8:11
DaFuq!?Boom!
Рет қаралды 21 МЛН
30000 блинги құрттым?!
18:59
Асхат Gaming
Рет қаралды 21 М.
skibidi toilet multiverse 039 (final part)
5:10
DOM Studio
Рет қаралды 5 МЛН