Spline Mesh Components and Instanced Meshes for Faster Level Design in UE4 Blueprints

  Рет қаралды 31,608

Pending Kill

Pending Kill

Күн бұрын

Пікірлер: 73
@Shamysoza92
@Shamysoza92 4 жыл бұрын
This is great! Most tutorials dont really explain the process and what it actually does. This solved a lot of questions on my part. Keep up the great work! Subbed
@PendingKill
@PendingKill 4 жыл бұрын
Thank you for the kind words, very glad you got something out of it :)
@denizorsel1029
@denizorsel1029 4 жыл бұрын
This is awesome eventhough I haven't grasped all aspects of the blueprints you created in their detail since it requires study. Thanks for the share.
@PendingKill
@PendingKill 4 жыл бұрын
Thanks for the kind words!
@cinnamintie
@cinnamintie 2 жыл бұрын
I was trying so hard to set something like this up and glancing at what you had different from me REALLY helped. I still don't know exactly what clamping the tangents is doing but DANG DID THAT HELP. Thanks a ton!!
@deyusfilms
@deyusfilms 4 жыл бұрын
i really like the pacing of your tutorials, much easier to understand than most
@PendingKill
@PendingKill 4 жыл бұрын
Deyus Films thank you, that means a lot to us!
@Mia-jf8ul
@Mia-jf8ul 2 ай бұрын
Thank you very much, this is exactly what I need!!!
@Kholaslittlespot1
@Kholaslittlespot1 2 жыл бұрын
Oh wow. I think I needed something like this.
@Altrue
@Altrue 4 жыл бұрын
6:02 You can in fact change HISMs to have random individual colors, but it happens at the material level with a node called "Per Instance Random"
@PendingKill
@PendingKill 4 жыл бұрын
@Altrue19 Thank you very much for pointing it out. We looked into it and we were quite pleased with your hint :) kzbin.info/www/bejne/bneZhJ9rnNh_r5o&ab_channel=PendingKill
@amirabdaoui2368
@amirabdaoui2368 3 жыл бұрын
@@PendingKill You can also use Custom Primitive Data to control your material parameters in the Construction Script. Saves you from having to create many material instances!
@sphangman
@sphangman Жыл бұрын
Thanks so much for the git repository , I was struggling to replicate what you had done so it was a life saver.
@unreolog8699
@unreolog8699 3 жыл бұрын
Wow, that is the content! I love it
@RahhmiPoofs
@RahhmiPoofs 2 жыл бұрын
this is arguably the best spline corridor tutorial on youtube at the moment. I'm mildly surprised though that you didn't include ways of having the floor, wall and ceiling at the end on a single spline. cloning splines all over the place gets a little odd. or the ability to change individual parts of the spline... like one wall segment into a wall-door segment.
@fodderfella
@fodderfella 2 жыл бұрын
Thanks, Still works well in ue5 as well
@Latvian3Dman
@Latvian3Dman 3 жыл бұрын
Thank You for video and github source, appreciated.
@MonteeGames
@MonteeGames 17 күн бұрын
Thank you very much.
@heldervinicius4232
@heldervinicius4232 4 жыл бұрын
Hey! There's actually a better way to set the static meshes that doesn't require all that hardcoded switching. Use the select node, it's ultra useful for a LOT of stuff, not just meshes. here's a link to the basic setup, it's pretty straight-forward imgur.com/a/W0cMd8g I hope that helps :D
@PendingKill
@PendingKill 4 жыл бұрын
Awesome, thanks for the tip! I've used the select node before, must have forgot to use it in this particular blueprint
@felixpettersson2286
@felixpettersson2286 3 жыл бұрын
Or you could add an array of static meshes and expose it in the editor, then get one by meshIndex from there. imgur.com/vv2eYHl Actually, this might be bad for performance as you're storing references to multiple static meshes that might not be used. But it's pretty convenient.
@An0ny
@An0ny 2 жыл бұрын
Just to be clear, you can change the colors randomly in instances using the “per instance” material node OR custom data
@Yuyirindo
@Yuyirindo 4 жыл бұрын
Thank you so much this help me figure out how to add more actors and create a road, you save me TwT
@PendingKill
@PendingKill 4 жыл бұрын
Glad it could help!
@antoniopepe
@antoniopepe 3 жыл бұрын
Great Man . very inpiring technique
@routeone4790
@routeone4790 Жыл бұрын
how do u add an extra mesh to the spline so theres two splines. as I am trying to add lightbulbs to my wire.
@discrodraft
@discrodraft 3 жыл бұрын
I wonder if it's possible to build a whole map with one spline mesh blueprint instead of just drawing one long element and copying it many times.
@TheFlyingEpergne
@TheFlyingEpergne 2 жыл бұрын
do you know how to make this work with a closed spline?
@xantishayde-walker4593
@xantishayde-walker4593 3 жыл бұрын
Loved the tutorial. I only have one problem. The Section Length Coef variable is not being set. I found that I still have to set it manually after placing it in the Details Panel for the Spline BP. I followed along recreating what you created, besides the color swapping and mesh switching. This is the deforming one.
@gaming4K
@gaming4K Жыл бұрын
Hello! Can you make overlaps on the spine? So far i didn't find a solution for this but on some meshes a little overlapping would make a huge difference.
@PendingKill
@PendingKill Жыл бұрын
If you change the section length (see 4:11 timecode) and subtract a bit from the output of the subtract node (i.e. right before the Set Section Length Coef node) you should be able to make the meshes overlap.
@hellnaw6657
@hellnaw6657 Жыл бұрын
Hi, was wondering . Is there a way to prevent the constructionscript from re-running each time the actor is moved/duplicated? Been trying to work with splines but finding that mass-duplicating/moving many splines makes the editior have extreme lags. The only solution i can come up with is using "call in editor" and a custom function instead.
@Silpheedx
@Silpheedx 2 жыл бұрын
For Anyone using UE5 and wanting Nanite . Use the Instance Static Mesh one.
@StephaneCharre
@StephaneCharre 2 жыл бұрын
Hey! I'm using the same technique for my splines. However I'm trying to implement a start and end mesh which the end mesh is just the same as the start one but reversed. Do you know a way to implement that last mesh rotation ? Don't seems to work for me. Thanks for sharing :)
@plasid2
@plasid2 2 жыл бұрын
Hi, How convert spline mesh to static mesh via Blueprint?
@maximkostindev
@maximkostindev 3 жыл бұрын
How can i apply some roll to my mesh? I just wanna make roallercoaster type road, spline point ignoring rotation, how can i achieve this?
@PierLucPoissant
@PierLucPoissant 3 жыл бұрын
Yes please, I wanna know too! Like in the miniature of the video
@Tiger66261
@Tiger66261 3 жыл бұрын
yo what song do you have on in the background? its so chill. thanks for the tutorial :)
@pullsardev
@pullsardev 3 жыл бұрын
Amazing!!!!
@sarav3948
@sarav3948 2 жыл бұрын
Hello, I would like to know if there is a way to create it according to the landscape? like to make climbs on a road or something like that and that adapts to the existing landscape
@tedbacon9509
@tedbacon9509 4 жыл бұрын
Great Video man! SUBED! Thank you! I'm working on a wooden fence, is there a way to change the section length so the mesh can intersect with other meshes on the spline? So it's not just added after the bounding box of the mesh? I hope this question makes sense! was hard to put into words!
@PendingKill
@PendingKill 4 жыл бұрын
Hi Ted! Yes you can, in the construction blueprint where you can define the section length, simply add another float to the min and max values called "min modifier" and "max modifier" and add a positive or negative value. Of course, make them public so you can edit them in real time. I have had the same issue with cave meshes in another project where i needed them to intersect. Cheers!
@BaseRealityVR
@BaseRealityVR 3 жыл бұрын
This is a good tutorial. But I have issues as I am trying to make a procedural fence But all the spline mesh methods deform my fence panels, I want to make it so the spline points are always straight and the panels can only rotate from there pivot point. Also if I use the mesh bounding box it prevents my meshes from getting close enough to link correctly. Any advice.
@BaseRealityVR
@BaseRealityVR 3 жыл бұрын
May be able to find a way if I can get it to place a point at the same location as the mesh pivot but not got it working just yet
@vDungeon
@vDungeon 2 жыл бұрын
What if you create a material with a randomized color? Maybe then you can get different colors on different meshes?
@private_void1261
@private_void1261 3 жыл бұрын
Hi!! I have some meshes like fences, that the point in what it joins one with each other is less than the total length of the mesh, and I'd like to add some offset to the meshes to fix this, but can't achieve this no matter what I try. Could you give me a clue, please? Sorry for my bad English
@PendingKill
@PendingKill 3 жыл бұрын
Hi - at 04:25 you can see the code labeled "After mesh is determined, calculates section length". You can try adding offsets to the output of the Break Box node, or to the subtraction node. This should modify the spacing of the meshes.
@n1lknarf
@n1lknarf 4 жыл бұрын
Could you please make a tutorial on how to add branch points to a spline? I haven't found a single tutorial on how to do it, for example to create a vein with the branching smaller veins, all procedural using an array of random meshes, or at least 3 static mesh nodes each with a different mesh.
@PendingKill
@PendingKill 4 жыл бұрын
We don't really have experience with branching splines. I found a few google search results, including some Unreal Engine documentation on branching landscape splines docs.unrealengine.com/en-US/Engine/Landscape/Editing/Splines/index.html But other than that it doesn't seem to be a built-in engine feature. There are some threads on custom solutions that you may want to check out.
@n1lknarf
@n1lknarf 4 жыл бұрын
@@PendingKill thanks
@PendingKill
@PendingKill 4 жыл бұрын
@@n1lknarf No prob :)
@PiPiCatStudio
@PiPiCatStudio 3 жыл бұрын
NICE tut,but will you sell the complete function blueprint in the market?
@PendingKill
@PendingKill 3 жыл бұрын
There's a link in the description to download the entire source code for this project :)
@TimSkijwalker
@TimSkijwalker 4 жыл бұрын
Looks great, just wanted to let you know that your github link doesn't work. =)
@PendingKill
@PendingKill 4 жыл бұрын
Ah thank you. It should be fixed now :)
@musikalniyfanboichik
@musikalniyfanboichik 3 жыл бұрын
today i found gold in a form of youtube video
@zerion3887
@zerion3887 4 жыл бұрын
Hi thank you for this tutorial... just a question, is it possible to add it to one of my own project (non commercial) ?
@PendingKill
@PendingKill 4 жыл бұрын
Yep go ahead!
@AyelaEmmanuelT
@AyelaEmmanuelT 3 жыл бұрын
Pls how can I get the asset in your example script
@PendingKill
@PendingKill 3 жыл бұрын
Which asset?
@AyelaEmmanuelT
@AyelaEmmanuelT 3 жыл бұрын
@@PendingKill the sci fi environment assets, thanks in advance 🙂
@PendingKill
@PendingKill 3 жыл бұрын
@@AyelaEmmanuelT That's from Synty Studios. You can get their assets from their store or from the asset store. Simply look for "Polygon - Sci-fi space" :)
@AyelaEmmanuelT
@AyelaEmmanuelT 3 жыл бұрын
@@PendingKill is It paid ??
@PendingKill
@PendingKill 3 жыл бұрын
@@AyelaEmmanuelT Yes. You will have to pay for them
@IllyasArt
@IllyasArt 4 жыл бұрын
Great!
@PendingKill
@PendingKill 4 жыл бұрын
Thanks!
@IllyasArt
@IllyasArt 4 жыл бұрын
@@PendingKill Keep up with the great content please :D
@PendingKill
@PendingKill 4 жыл бұрын
Lopiky yessir!
@nhsurron
@nhsurron 4 жыл бұрын
where did u get this character model lol
@PendingKill
@PendingKill 3 жыл бұрын
From one of the Synty packs
@LyubomirIko
@LyubomirIko 3 жыл бұрын
The only question is why this tool doesn't exist by default? It is crucial for level design, basally every game have it and need it. WHY?
@PendingKill
@PendingKill 3 жыл бұрын
That is because there are several ways to build levels. This is my preferred method as it gives me a lot of control over repeatable assets. You can also apply this to 2 and 2.5D games with repeatable unit backgrounds. However, I have met and worked with folks that like to literally built it all in Maya or Blender and then reimport it. It works just as well too and depending on your familiarity with the modeling software you can probably do a better job. It may also be better in terms of draw calls but i digress.
@ziyuanchen8567
@ziyuanchen8567 3 жыл бұрын
But they do not instance landscape spline as well, which is a built-in tool for making large scale road network. It is weird because in vertex shader you can only use either spline or instanced static mesh at the same time but not both. Same thing goes to landscape component. It is totally doable since UE will automatically instance meshes using the same materials.
Jumping Through Platforms in UE4 Blueprints (Super Mario mechanic!)
6:47
Unreal Engine 4 Tutorial - Splines - Spline Meshes
21:21
Ryan Laley
Рет қаралды 222 М.
amazing#devil #lilith #funny #shorts
00:15
Devil Lilith
Рет қаралды 18 МЛН
Hoodie gets wicked makeover! 😲
00:47
Justin Flom
Рет қаралды 110 МЛН
Happy birthday to you by Secret Vlog
00:12
Secret Vlog
Рет қаралды 6 МЛН
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 85 МЛН
Rotating Objects in UE4, Benchmarked (Get better FPS!)
12:16
Pending Kill
Рет қаралды 17 М.
How Hollywood Shot Actors with Arrows before CGI
15:12
Tyler Bell
Рет қаралды 3,6 МЛН
Populating Meshes Along a Spline | Tips & Tricks | Unreal Engine
11:49
Real-Time Path Tracing in Unreal Engine 5 | Unreal Fest 2024
36:26
Unreal Engine
Рет қаралды 91 М.
Epic's Unreal Optimization Disaster | Why Nanite Tanks Performance!
13:07
Threat Interactive
Рет қаралды 233 М.
Building a REAL pawn that transforms into a queen (automatically)
14:12
Works By Design
Рет қаралды 1,8 МЛН
UE5: Building Structures - #2 Spline Walls Part 1
31:58
UnrealityBites
Рет қаралды 41 М.
amazing#devil #lilith #funny #shorts
00:15
Devil Lilith
Рет қаралды 18 МЛН