-2 takes off the ends of the spline points so the road can curve and be "bendy" without the hard edge of the beginning and end of the mesh! Absolutely brilliant, and I've searching for how to do this for a while now. Thank you Matt, you truly are the man!
@jerobarraco2 жыл бұрын
I think this is not actually taking the end and start points. is just making sure you iterate correctly. Since to iterate all points you need to go NumPoints-1 (since it's 0 based). and then because he will always try to access index+1. you need to subtract another one. making in -2.
@silentwindstudio6 ай бұрын
2 years later and this still the best tutorial on roads with splines lol
@MarcoCapelli74 Жыл бұрын
This is very a very quick system and it works like a charm. Thank you. Now i need to find a way to fix the UVs to avoid texture stretching when adding new segments.
@leifthorsen40404 ай бұрын
Straigth to the point, great video
@kazaxe80212 жыл бұрын
I was searching tuts about this exact subject just yesterday lol thanks for having actual telepathic powers ^^
@MattAspland2 жыл бұрын
Oh awesome haha
@CITADEL-STUDIO Жыл бұрын
Best Tutorial Ever! Thx man!
@Kenb3d1 Жыл бұрын
Huge thanks. This was exactly what I was looking for! Subscribed. Edit - Spoke too soon, using a pretty basic mesh in 5.1 and after a while the curves just start buckling and twisting in on themselves.
@Stoermy_ Жыл бұрын
And another great Tutorial. Perfect ❤ Ur my No.1 UE 5 Tut Ytuber :)
@stundazepow Жыл бұрын
Beautiful. Thank you.
@kirill8221 Жыл бұрын
Great work! Thanks!
@jesperrasmussen2058 Жыл бұрын
Amazing
@rockstar745896 Жыл бұрын
Is there a tutorial for having an asset follow a spline? This was a neat video btw
@eggzacklee Жыл бұрын
could you do this for megascans embankments and cliffs effectively or am I destined to keep stacking them one next to eachother?
@giicha22 жыл бұрын
Great tutorial. Thanks
@GodspeedOfficial420692 жыл бұрын
I loved the tutorial but I have a serious question. Am I the only person who thinks you should have access to a less complex process just to bend a shape? I only ask this because I feel like more people need to acknowledge how cluttered and overcomplicated some of the most seemingly simple tasks are, for the sake of making sure we utilize every nook and cranny of the software. I just feel like it's a weird flex on their behalf, I guess. Like, I get the importance of having the option to control every little thing but they couldn't just throw a simple archviz guy a slider bar or a value field when you click a model? lol (Sorry for the rant.)
@statebeyond373 Жыл бұрын
I agree
@fleurbird2 жыл бұрын
Awesome video as always, If you want to make a road I would use the landscape spline. It's a really powerful tool. I personally use it for fences as well. I'll probably make a video about that soon.
@MattAspland2 жыл бұрын
Ah yeah awesome idea!
@mists_of_time Жыл бұрын
Thank you!
@necroixes82062 жыл бұрын
If i ever put out a game, itll be thanks to @Matt Aspland and other awesome content creators! Thank you guys for what you do!
@richardchipstick2352 жыл бұрын
Hi Matt, Really new at this, but I managed to work through it, just shows what a great teacher you are and the superior quality of your videos, but i have a really simple/stupid question and that is, is the static mesh you use just a plane or a box, and if it's a box does it have a lot of segments to make it super flexible to take into account the bends in the road, could you possibly make it available so I can check it out, a lot of people are probably laughing at this request, but it's all new to me. Thank you
@MattAspland2 жыл бұрын
Hey Richard, thanks so much for your support! The road I used was a simple cube in Blender scaled to the size I want. I then subdivided it a few times, I believe I had 25 different faces on each side of my road (top and bottom anyway). This then allows the Spline in Unreal to manipulate the mesh and rotate like in the video. The more subdivisions the better and smoother the effect, but the more demanding it is as the engine needs to load all the faces (polys). Hope this helps! :)
@Xdracclipsftbl2 жыл бұрын
hey your very helpful but can you make a tutorial on how to retarget a car in ue5 template please and bye
@luonghanh8012 Жыл бұрын
very good
@richard_horne Жыл бұрын
Greast video Matt. Very informative and easy enough to follow, but as a EU5 beginner, how on earth would I intuit that I needed to do all of that when figuring it out from scratch? This is where I'm really struggling with UE5.
@MartKart82 жыл бұрын
I tried to make a spline platform once, with holes in the mesh, the mesh had holes. The annoying thing was the speed of the mesh as no matter how slow the mesh moved I couldn't walk properly on it. I was trying to see if I could do a similar thing from Super Mario Galaxy, a level called Rocky Road, you would have to see the level to understand, I really liked the sweets theme of that level.
@BrianSmithgrumpygit2 жыл бұрын
Great tutorial been following some of them with my grandson. Do you have a tutorial on using a custom character. Instead of the manikin. Thank you look forward to your next one.
@nickjohnson72772 жыл бұрын
Theres a tutorial from 3 weeks ago called, Using Mixamo with Unreal Engine/ Custom characters and Animations, that might help👍
@MattAspland2 жыл бұрын
Hey Brian, that's amazing to hear! You can use this first video to get a custom character into Unreal Engine, and the second video to animate it. Hope they help! :) Custom Character: kzbin.info/www/bejne/Zn2To3tvo96Jorc Animated: kzbin.info/www/bejne/inaQhKaGaNWcndU
@BrianSmithgrumpygit2 жыл бұрын
@@MattAspland Thank you for the quick replie. Me and gran son are going to check them out tomorrow as he is in bed.
@BrianSmithgrumpygit2 жыл бұрын
@@nickjohnson7277 Thank i shall give it a watch.👍
@galberger39372 жыл бұрын
Great video! How can i keep the road just long whitout the curve? Do i need to create the blueprints you showed as well? And can you show how to find a good image for the road and how to put in unreal properlly?
@LaZamponaGIL2 жыл бұрын
Does anyone know how to make attack combos on mobile buttons, I can't find it, please help
@darkmelia85802 жыл бұрын
I need it too
@darkmelia85802 жыл бұрын
x2
@dagersys74092 жыл бұрын
x3
@rraussellios55602 жыл бұрын
x4, I'm looking for it too, I can't find it on youtube
@blodelywar17932 жыл бұрын
I think there are only tutorials for the attacks but for the computer, until now it has not been seen for the cell phone
@tastysnak Жыл бұрын
I haven't had a chance to try this out myself yet, but shouldn't the for loop start at index 1? Assuming that index 0 is the start we are trying to avoid.
@mikaelthomas6377 Жыл бұрын
This is going to sound like a stupid question... but.. where did you get the Road_Segment part for the Static Mesh? I don't have one in my Unreal Engine Editor
@MattAspland Жыл бұрын
Hey, that road segment was a static mesh I created myself in blender and imported in
@1020justukas Жыл бұрын
is there a way to move the road spline points vertically and rotate them to give the road a sort of twist?
@chandlerfrantz3140 Жыл бұрын
So, is there any way to prevent texture distortion on the arrayed mesh?
@godofvideoss Жыл бұрын
Hi, really nice guide. I'm trying to replicate but when I make curves the texture becomes diagonal and distorts. Do you know what I'm wrong?
@benz.1730 Жыл бұрын
Thanks! So complicated, other software provides that out of the box. Why isn't there just a default asset in UE? But the tutorial works good!
@hotsauce7124 Жыл бұрын
New Subscriber: Hello, is it possible to create a disc shape and have the mesh fill in the interior of the disc? When we make the spline larger, the interior of the disc will always be filled? Like spawn objects toward the center of disc, so to always fill the center of the disc with geometry if the spline points are moved?
@hamzakilic784410 ай бұрын
Hi friend, How can I merge splines in different landscapes?
@hotsauce7124 Жыл бұрын
Is there a way to expose the Spline Points to Sequencer?
@CommanderColson2 жыл бұрын
Great video! Could you do a tutorial on how to pick up multiple guns and then swap between them in UE5 First person?
@TekkiWEkkity2 жыл бұрын
great video, i wasnt able to hear u too well even on max volume though so I had to go off of subtitles do u think u could increase it for next time
@MattAspland2 жыл бұрын
Ah okay, thanks for the feedback mate!
@taariqmartin77437 ай бұрын
Can you make a 4 way crossing
@Gnda3e Жыл бұрын
How can I connect 2 splines? I already tried with ctrl and click
@lukafi Жыл бұрын
I've double checked everything and the BP works but the roads are super jaged, they dont round out at all. Anyone know why?
@liakim1572 Жыл бұрын
You need to have a mesh with enough topology to "bend", you can't expect for example a cube to round and create a smooth road corner. To do so just add subdivisions to the mesh road you are using.
@NayanThapaMagar-f1o Жыл бұрын
did same as shown but doesn't work. It gets separated even holding ALT. I need help
@dalerose49582 жыл бұрын
My mesh refuses to conform to the spline. I'm using a small segment of cylinder for the mesh. Instead of making any curves, it insists on keeping the line straight, so instead of curves I just get sharp angles when I move a spline point. I've gone back through your video several times now and I cannot see where I'm going wrong. Any suggestions?
@Graylord882 жыл бұрын
Do you have enough edgeloops through your mesh? You can't manipulate geometry that doesn't exist.
@xrecruit2 жыл бұрын
Do you or anyone know how to destroy a part of a mesh and have it either baked or destroyed when triggered. I keep finding instructions on destroy the whole mesh.
@albertusbodenstein19765 ай бұрын
Is there a way to extract the spline, so you can use it for pathing? I want to add a car to the spline.. Anyone?
@CGPine Жыл бұрын
Guys, does anyone know if I can somehow add the ability to expand the road in certain places?
@johanrojassoderman5590 Жыл бұрын
If you subtract two for the first and last points, shouldn't you start the for loop from 1? Now it feels like you're removing the last two points.
@SnowBunny_Elle Жыл бұрын
Awesome as usual. But is there a way to stop my character from sinking into the spline? UPDATE____I figured it out.
@idea5725 Жыл бұрын
How?
@SnowBunny_Elle Жыл бұрын
@@idea5725 See HOW u are
@monster6236 Жыл бұрын
@@idea5725 Probably collision related
@Atl3m Жыл бұрын
Landscape snapping ?
@scord-8692 жыл бұрын
Pls can you make explain how to create ai car ❤️
@bluehawkinteractive2 жыл бұрын
you should have made the spline look like the among us meme sus lol anyways great video❤
@hinhsumang Жыл бұрын
where is "road segment"?
@soumysahu2 жыл бұрын
is it edible?
@MattAspland2 жыл бұрын
Be my guest to try haha
@Ser0zine2 жыл бұрын
My road material becomes stretched when I extend it
@SbxaAMV9 ай бұрын
you found a fix??
@Ser0zine9 ай бұрын
@@SbxaAMV Nah
@Tryfieldanimas Жыл бұрын
I can't watch any tutorial without holding Alt and middle mouse button pressed ... Im lost 😖XD