Unreal Engine 4 Tutorial - Splines - Spline Meshes

  Рет қаралды 222,875

Ryan Laley

Ryan Laley

Күн бұрын

Пікірлер: 196
@dubblesnup4457
@dubblesnup4457 Жыл бұрын
works amazingly thank you! for anyone in the future, unreal engine 5 changed the "integer + integer" & "integer - integer" nodes to "Add" & "Subtract" respectively
@NoBody-hw6se
@NoBody-hw6se 4 ай бұрын
I spent five hours with busted-ass spline curves trying to figure out why they weren't working and this video solved my problem, so thank you for doing this, it's still applicable even with UE5!
@redemption1561
@redemption1561 8 ай бұрын
Awesome tutorial, the part about clamping the tangents was especially helpful.
@ristopaasivirta9770
@ristopaasivirta9770 8 ай бұрын
Wonderful tutorial. Good pacing and clarity on what you do and why you do it.
@АндрейСкляров-ь4ы
@АндрейСкляров-ь4ы 2 жыл бұрын
If you want to fix the tube artefact at the end, you need to create a variable with your „Get Actor Scale 3D“ (the same X, as you already used), and place into „Clamp Vector Size“ as a Max input Thanks! Very useful! You are a good teacher I did it correctly and understood how I did it at the same time 🙂
@antennatrees
@antennatrees Жыл бұрын
Thanks so much for this. Watched several tutorials that all basically use the same method, but you added a few simple fixes that make all the difference. Great stuff!
@RyanLaley
@RyanLaley 6 жыл бұрын
Hi everyone, I'm going to be doing a video soon answering anyone's questions about studying games development. Coming into Summer some people who are in school will begin to start thinking about the future courses and are maybe interested in getting into games development by studying a course. Well, I am going to be answering aall your questions about choosing the right course and things to look for in choosing a games course. If you have a question you would like to see answered in the video either leave a comment below or message me directly in private. Ryan
@lethiagames9208
@lethiagames9208 4 жыл бұрын
Hello is there a way for in the first and last nodes have a different mesh than the middle nodes (like electricity cables)
@ArtDadDraws
@ArtDadDraws 5 ай бұрын
Got sent over here by someone from Dekagon Games who shouted out this vid in their Artstation Learning series. Good stuff, thanks Ryan!
@farmonster
@farmonster 5 жыл бұрын
Such an underrated channel.
@falxonPSN
@falxonPSN 4 жыл бұрын
I just found this while trying to understand unreal splines and this was tremendously helpful! Many thanks for putting this out.
@ADM8_1
@ADM8_1 Жыл бұрын
Tip: if you cant edit the spline in the game viewport, you need to enable "Input Spline Points To Construction Script" in the Spline Component
@link5456769
@link5456769 4 жыл бұрын
Thanks for making the tutorial! Working on a student project and was very confused about splines meshes but I get it now
@user47033
@user47033 5 жыл бұрын
Excellent, thorough, complete. Thank you.
@bubarules
@bubarules 5 жыл бұрын
Finally a great tutorial on this topic that actually works with the 4.21!
@rishikhanna1489
@rishikhanna1489 2 жыл бұрын
Keep your good work sir!!, you are gonna be the reason behind many future game developers
@Drone_Rabbit
@Drone_Rabbit 2 жыл бұрын
This tutorial brings peace and joy to my life!!!
@Xoremus72
@Xoremus72 2 жыл бұрын
I know this video was a long time ago, I hope you still look here! I am having an issue where my mesh is squished to like 1/4 of its size along the spline (Each Segment) So there is a huge gap between each mesh. I cannot figure out why. The only thing I can think because I am using UE5 it doesnt like something. Pls help if at all possible, Your tutorial is by far the best one on this subject I have seen!
@ricolasX
@ricolasX 4 жыл бұрын
I was hoping to use it for pipe but it's more adapted to cables. It's missing 2 things though. How to deal with twists when doing perfect 90 angles and how to have the last tangent not being influenced by the previous one. It's super fiddly to to right angles with the method explained here
@gr8m8n8
@gr8m8n8 2 жыл бұрын
yeah i'm having pinching problems when doing 90 degree angles
@Slapdash86
@Slapdash86 4 ай бұрын
God bless you Ryan Laley
@emin86
@emin86 3 жыл бұрын
I made a Spline mesh with a curb for easy sidewalk creation. I decrement the truncate to avoid half meshes and also allowed the spline length to scale accordingly. As long as I keep the Actor on scale 1.0, it is fine and the splined mesh looks great. However if I scale it up, the individual segments will get squashed towards the start and the end. This is also visible in your example at the very end. The flanges scale up and down. Any solutions?
@ah_fascinating
@ah_fascinating 7 ай бұрын
Thank you, exactly what I was after and clearly explained as always
@rafaelserralheiro3d
@rafaelserralheiro3d 7 ай бұрын
Amazing Video! Really helpful! If you are Using UE5 For the Float * Float node you can use the Multiply node.
@NabrocTheGreat
@NabrocTheGreat 6 ай бұрын
Man I just want to know how to use a guitar strap asset why does this all have to be rocket science. Always great videos. I learn a lot too much sometimes. lol
@nosalis
@nosalis 5 жыл бұрын
this is great! thank you sir! although I have to say that my tanget still scales when I move it, even when I'm clamping in in 4.22 actually it does work, it does scale until I have the next index spawned, then the scale doesn't stretch anymore
@Bugman563
@Bugman563 3 жыл бұрын
Thank you Ryan Laley =000 You made my day with this one!!
@__dINe__
@__dINe__ 6 жыл бұрын
Another great tutorial as always! Going to try it now :)
@allashama
@allashama Жыл бұрын
That was exaclty what i was searching for. Thank
@apollogt5506
@apollogt5506 2 ай бұрын
starting from scratch would be showing us how you created the pipe, positioning and saving it to a folder
@IsaacOster
@IsaacOster 2 күн бұрын
Great tutorial - thank you!
@TrieuDuongLuu
@TrieuDuongLuu 4 жыл бұрын
Thank you so much, exactly what i need.
@satyakimandal6572
@satyakimandal6572 5 күн бұрын
Is there any way to shrink or stretch the mesh in the section length part of the video? My mesh is a brick tile, so its tiling is not linked to its bounding box. It's a bit offset. Would love to know if that is possibl
@polski6812
@polski6812 2 жыл бұрын
you gotta tune the instrunt, by right clicking on it in the channel rack
@BaseRealityVR
@BaseRealityVR 4 жыл бұрын
Awesome vid Ryan, I used this to create a procedural panel fence ,but I wonder how I could add certain mesh to start and end points EG: End Posts
@ИльяИлья-э2э
@ИльяИлья-э2э 3 жыл бұрын
Thank you for great tutorial. And not only for this one!!!
@NJoint
@NJoint Жыл бұрын
Super useful video. Subscribed!
@CaptainChubbyDuck
@CaptainChubbyDuck 11 ай бұрын
Hi I followed this tutorial but I still get really weird stretching on my meshes :( What could I be missing?
@QuinnKuslich
@QuinnKuslich 2 жыл бұрын
Great Video man! Super Helpful for creating a cord for my VR computer system!
@bentripn
@bentripn 5 жыл бұрын
Excellent video for splines! Thank you very much!
@750voltsdc3
@750voltsdc3 4 жыл бұрын
Excellent tutorial but I can't seem to use the Blueprint on Splines longer than 1metres, I tried editing the Section length variable from 100 to 300, but for some reason the mesh remains at 100cm aka 1m.
@alexdemash2676
@alexdemash2676 3 жыл бұрын
Thank a lot, this lesson really help me!
@micflynn1
@micflynn1 5 жыл бұрын
Ryan Laley, Love your videos you go in depth better than anyone else I have watched so far! On the pipe Splines, could you not use 2 meshes, one a coller and one just a straight pipe and as you drag the pipe have it add a coller say every 200 in length and avoid the stretching all together?? C--------C--------C---------C lol
@Favourite1One
@Favourite1One 2 жыл бұрын
Exact what i needed at current time. Thanks 🙂
@StevenDiLeo
@StevenDiLeo 2 жыл бұрын
This awesome. Gonna help make me some fences, thanks for sharing thiese spline ideas :)
@kolliath0129
@kolliath0129 5 жыл бұрын
Thank you so much for the tutorial! It really helps me a lot!
@fury6503
@fury6503 2 жыл бұрын
it's really work in the game, thx
@Staglaitor
@Staglaitor Жыл бұрын
Thanks - maybe I overlooked it - but are there primitives from splines - such as: circle, square, ellipse, triangle?
@scottownbey9340
@scottownbey9340 3 жыл бұрын
Ryan I'm debating with my Tech guy why didn't you use the Section Length Variable in the multiplication tab towards the end of your tutorial- as opposed to manually entering the mesh length at 100? Appreciate your reply.
@BelfrostStudios
@BelfrostStudios Жыл бұрын
Question: I made my pipes and the bracket ends for pipes separately so they would be modular. How would I go about doing this if my models were two separate pieces for the spline?
@NabrocTheGreat
@NabrocTheGreat 6 ай бұрын
Like for a guitar strap...
@HeavensDisciplesGames
@HeavensDisciplesGames 3 жыл бұрын
Thanks for this much needed tutorial. How do I go about turning the meshes at the tangent points to form a spline circle using Blueprint?
@son2isaki
@son2isaki 5 жыл бұрын
thank you bro, your video is well explained and detailed enough !
@kingdoom1906
@kingdoom1906 2 жыл бұрын
Thank you to share this just for free ❤️
@ev3rything533
@ev3rything533 4 жыл бұрын
thanks, I edited this so I could have multiple objects of varrying length on the same spline.
@RobertCooper1999
@RobertCooper1999 4 жыл бұрын
How did you do this? :)
@ev3rything533
@ev3rything533 4 жыл бұрын
@@RobertCooper1999 I made the values that he took for spawning the object in and made them variables. I used a variable called "offset" to define the distance of something spawning. There was an array of object to be spawned, and each row in the array had the "offset" "object length" etc
@bensteinebronn4947
@bensteinebronn4947 4 жыл бұрын
Really great Tutorial!
@S-Grez
@S-Grez 3 жыл бұрын
Thank you so much for such a cool tutorial!
@archiblage
@archiblage 3 жыл бұрын
When I copy the point with ( Alt + move ) the mesh does not stretch or copy with the spline any leads why?
@MrJacksparrago
@MrJacksparrago 2 жыл бұрын
Thank you for this video, mate :).
@HashemGameDev
@HashemGameDev 4 жыл бұрын
Hey Ryan , thanks for the video , it's really great and gave me what i need except one thing , how to do this while playing so i want the character to press a button and the mesh would expand to a certain point so i tried the same thing and when i press the button i change the X Scale using a timeline to make it expand smoothly and worked really well but what i want is to give the spline a point and make the spline expand to it like when we hold the last spline point and move it so the spline mesh expand with i want to do it in real time by moving the spline point not the actor scale
@EleventhEwe67
@EleventhEwe67 9 ай бұрын
Even following your tutorial, my spline still doesn't have a collision. What could it be?
@pesaladesilva1105
@pesaladesilva1105 3 жыл бұрын
Hi, This is an awsome video which put me in the track on drawing spline meshes. But there is a one question on me. I just want to draw spline meshes on the given points and i have built the points to the blueprint through a csv and how can i ignore this spline length variables and built on the points I am inserted
@kenalpha3
@kenalpha3 2 жыл бұрын
Did you find out how?
@Romain_Derelicts
@Romain_Derelicts 5 жыл бұрын
Awesome tutorial ! Thx Ryan :)
@georgeluna6217
@georgeluna6217 Жыл бұрын
is there any way to change the materials and meshes from details panel from any blueprint instance?
@carrito1981
@carrito1981 Жыл бұрын
Man, my splines aren't bending, even with a ton of loops. The spline is curved nicely, yet my model is just bent on 2 points. Any tips or hints?
@SlinFane
@SlinFane 3 жыл бұрын
on point what i needed! Is it possible to randomize the mesh selection? like i hvae 5 pipes of same length with some diffrent details and want to fill the spline randomly with those 5 varioations?!^^
@theEndermanMGS
@theEndermanMGS 3 жыл бұрын
You should be able to keep an array of static meshes that you can choose from on your script, then get a random integer to randomly select an index from that array, then you can use the "Set Static Mesh" function on the Spline Mesh Component to set the mesh to the randomly selected one.
@Ruumablood
@Ruumablood 4 жыл бұрын
where do we get the pipe to start with? looking for the tutorial for it cant find it, good video thank you.
@DJL3G3ND
@DJL3G3ND 4 жыл бұрын
he said he modelled it lol
@akillith6841
@akillith6841 3 жыл бұрын
You're a god amongst men!
@mahmudhossain4917
@mahmudhossain4917 4 жыл бұрын
Nice Tut! How would you add diff Static Meshes for turns/angles/corners?
@lucianantohi4921
@lucianantohi4921 2 жыл бұрын
Hello, this kind of spline can be animated in sequencer?
@mdp7193
@mdp7193 2 жыл бұрын
Amazing, thank you so much!!
@dimitardimitrov7950
@dimitardimitrov7950 5 жыл бұрын
Hi man thank you grate tutorial . i was wondering if you can mace tutorial expanding on this system by exposing the mesh component in inspector so we can drag and drop other meshes and auto detect the length of the mesh for the correct placement how you have don it but hard cod it thank you again for the grate tutorial cheers
@froggyworld
@froggyworld 4 жыл бұрын
Great tutorial thanks!!
@CP-Mohammed
@CP-Mohammed 2 жыл бұрын
thanks, for this video!!
@lunarpooch4398
@lunarpooch4398 2 жыл бұрын
is there any way to have the mesh slid or move along the spline and also have it in a loop?
@simpill81
@simpill81 3 жыл бұрын
Hey, I just wanted to know if this is able to change the length of a spline over time, (something like the growth of a vine)?
@SewerShark
@SewerShark 5 жыл бұрын
Thank you so much for the video, I learned a lot
@ToadieBog
@ToadieBog 5 жыл бұрын
Excellent, thank you for this.
@shadesmadness4399
@shadesmadness4399 5 жыл бұрын
very cool tutorial. I wanna run something by you and anyone else. I've been having this situation where I created a hollow pipe which then I use as a spline and it works and looks as it should but then I take that pipe and cut it in half to create a half pipe(like for skaters) and all of the sudden I can't use that half pipe. Any ideas?
@orhngazi
@orhngazi 21 күн бұрын
Thank you
@mikeholmes3203
@mikeholmes3203 4 жыл бұрын
would like to know if it is possible to turn into a tube and have character slide down it inside ?
@lordkanesoulreaver
@lordkanesoulreaver 8 ай бұрын
how do i keep it form srinking at the end?
@AlFredo-sx2yy
@AlFredo-sx2yy Жыл бұрын
Is there a way to prevent the splines in unreal from pinching when making a loop? I swear to god, i've wasted tons of hours trying to do this and it seems like there is simply no vanilla way to do this and it requires plugins to fix a problem with the way curves are calculated in unreal. I simply refuse to believe that in over 20 years they havent been able to figure out how to properly implement splines.
@ludwigwetzel
@ludwigwetzel 3 жыл бұрын
awesome stuff
@dyroth
@dyroth 5 жыл бұрын
How do you change the roll of the spline? Very good tutorial as well thanks!
@RyanLaley
@RyanLaley 5 жыл бұрын
Rotate the point :)
@범스턴
@범스턴 5 жыл бұрын
Thank you so much for the tutorial!
@DanielMo0
@DanielMo0 6 жыл бұрын
Hey there, good tutorial. But you should have mentioned the "Get Roll at Distance Along Spline", "Set Start Roll" and "Set End Roll" - functions. That way you can also roll your spline mesh along your individual spline points. Anyways you did well and got another thumb up :)
@RyanLaley
@RyanLaley 6 жыл бұрын
That's part 3 of the video which isn't out yet :) we add rolling and scaling :)
@DanielMo0
@DanielMo0 6 жыл бұрын
@@RyanLaley Okay sorry for being that impatient :D ... Good job dude!
@RyanLaley
@RyanLaley 6 жыл бұрын
No problem glad you like the videos
@dyroth
@dyroth 5 жыл бұрын
Can I ask how to do this? It's been bugging me for the longest time, and I can't find the episode 3 Ryan is talking about
@diffraction163
@diffraction163 3 жыл бұрын
i watched your tutorial up and down, im not sure where im running in the wrong direction. i built your construction script, have an other spline in my BP that i use to create a path. on this path i put procedural generated spline points (it works) but for some reason the construction script gets not updated when im simulation or in game mode? works fine if i pull out the spline that is referenced in the construction script :( i want to have moving tentacles :
@TrashPanda1
@TrashPanda1 6 жыл бұрын
Hey Ryan, could you upload the pipe blueprint? I am encountering errors with the pipe not following the spline and I've checked the blueprint many times and just can't see whats wrong.
@NerdsPlayhouse
@NerdsPlayhouse 4 жыл бұрын
He didn't mention completing the White Pin Circuit at the top. Connect the last two nodes on top with the white pin and that should fix you.
@meshcarver
@meshcarver 2 жыл бұрын
Have done this and it's working- but, whenever I use the Spline Point Handles (Curves Spline Points) it seems to scale the Mesh itself along the X Axis (Forwards). This sort of negates the point of creating it so it makes the Mesh sections even? Can anyone help me with this please? Also seems to be doing it if the Spline Points are too close together or the bend is too strong?
@twitchingpsycho
@twitchingpsycho 3 жыл бұрын
Is it possible to make a bool that will flip where the segments spawn (spline start point/spline end point)? What I mean is I want to make dynamic robotic arm (think Doctor Octopus from Spiderman) using splines but I want to make them retract and extend and I want to hide start and thus the spawning of new segments on the beginning of spline and not the end. I think that'd be pretty cool.
@QuiteDan
@QuiteDan 2 жыл бұрын
Why is it this works with Add Spline Mesh Component, but when I have a Spline Mesh Component already in the class, it shows up in a weird location? I even detached it and reset its world transforms to zero. Edit: Ah because it's only making the first segment. I need multiple spline mesh components to draw a full arc.
@Ronoldgert
@Ronoldgert 4 жыл бұрын
Nice Video but how to Update/Place them at runtime?
@j99bgr
@j99bgr 5 жыл бұрын
So how can I add spacing between the meshes and keep them the size they need too be? I’m trying to make a line or bottles and I need an equal gap between each one
@sketchturner8229
@sketchturner8229 4 жыл бұрын
Amazing tutorial! Thanks! Can i add spline point to sequencer? Can find any tutorials via internet :(
@francoislarrieu1296
@francoislarrieu1296 3 жыл бұрын
Hi guy, really nice tutorial, but I have problem, i did spline with section length, spline work perfeclty. I have 10 meshes in my scene and my spline, and i have 400 object to build, like if my spline was dupplicate my pipe and superposing it, then im laggy hard ... Think it is coming of section length but dunno at all...
@Maciej.01
@Maciej.01 Жыл бұрын
thaaanx
@Agrinddandi
@Agrinddandi 3 жыл бұрын
Hey Ryan, how can i make this spline mesh static? the way its set now i can not bake lights on it
@centumaught
@centumaught 3 жыл бұрын
Thank you for this. I am struggling to understand and connect everything from Unreal in relation to Blender, Like "Splines vs Curves". In Blender, a curve can be converted into a mesh. I am trying to figure out how to turn a spline (which is the same thing as a curve) into a mesh. Any thoughts?
@stabbedbyapanda
@stabbedbyapanda 2 жыл бұрын
Legit this tutorial. That is exactly what he is showing
@kelseybenson4953
@kelseybenson4953 6 жыл бұрын
Great video! Is there a way you could add different static meshes for the start and end of the spline?
@RyanLaley
@RyanLaley 6 жыл бұрын
Yeah. You will in face see this in upcoming videos on splines making cave systems. But you essentially have it create a static mesh at point zero and the final index in the array of spline points.
@philzan3627
@philzan3627 4 жыл бұрын
Is there a way to snap the spline meshes at their set size? This would be great for level construction where you need to repeat a same mesh over a distance but do not necessarily want to copy paste and snap them manually.
@KowaiMaou
@KowaiMaou 3 жыл бұрын
kzbin.info/www/bejne/gpnCmWh8r8iAZ7s 20:30-32:25 is what you're after. Not spline related, but a handy BP tool nonetheless. It basically offsets your meshes by a set amount and you can control both that, as well as how many to spawn. Pretty sure you've solved your issue by now though.
@XTheSkoomaKingX
@XTheSkoomaKingX 4 жыл бұрын
Thank you so much for this! :)
@pdcsky
@pdcsky 4 жыл бұрын
I'm trying to do the opposite of what you do at the end. So instead of having a consistent spacing between the splines I want to have a single pipe mesh, that uses all of the spline points to scale. Is this possible? Cheers
@ciceAX7
@ciceAX7 4 жыл бұрын
@pdcsky I would do it like this: Split the mesh in two parts, one thicker part that represent the end/start of the pipe and one thinner that is the pipe it self. Then you simply put that mesh on the first index and the last index. Mesh1: [] Mesh2: == []===============================================[] It will work with both ways he showed BUT, if you are gonna use a texture and not solid color i would go with the 2nd example. Why? If you stretch the mesh you will also stretch the texture and it might look a bit ugly. Not actually tried it but it should work.
Unreal Engine 4 Tutorial - Shooter - Guns Part 1 Setting Up
25:53
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24
When u fight over the armrest
00:41
Adam W
Рет қаралды 25 МЛН
Try Not To Laugh 😅 the Best of BoxtoxTv 👌
00:18
boxtoxtv
Рет қаралды 7 МЛН
Haunted House 😰😨 LeoNata family #shorts
00:37
LeoNata Family
Рет қаралды 7 МЛН
UE4 Tutorial: Add spline-meshes procedurally
7:59
Playful Synapse
Рет қаралды 159 М.
Unreal Engine 4 Tutorial - Splines - Moving Platforms
18:12
Ryan Laley
Рет қаралды 48 М.
Unreal How to Make a Mesh follow a SPLINE
9:08
The Game Dev Cave
Рет қаралды 40 М.
Populating Meshes Along a Spline | Tips & Tricks | Unreal Engine
11:49
How to Make: Measurement Spline | Unreal Engine 4 | Visual Scripting
11:43
Unreal Engine AI Vehicle Tutorial 1: Spline Path Following
37:45
How To Make An Object Follow A Spline Path - Unreal Engine Tutorial
16:11
Unreal Engine Landscape Spline Tutorial
9:59
Some Design Tutorials
Рет қаралды 10 М.
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24