UE5 Geometry Script - Bake To Static Mesh

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
in this video i'm going to show you two ways to bake a dynamic mesh procedural actor to a static mesh the first way is in modeling mode what you can do is select the dynamic mesh actor and run the convert tool leave the output type as static mesh and you can set this new asset location which defaults to world relative to current folder click accept and the mesh will be the object will be converted to a static mesh asset so then you can place in multiple instances by using the static mesh so that's one way here's the second way i'm going to go to the blueprint and i'm going to add a function bake2static mesh i'm going to set that function to be call in editor here over on the right i'm going to right click and say get dynamic mesh that's going to be my get dynamic mesh function it's going to get my current mesh and then i'm going to route that to copy to static mesh copy mesh to static mesh function i'm going to add a variable called target mesh and i'm going to set it to be a static mesh that's going to be a static mesh asset so i have to pick the right one i'm going to make that public compile now i'm um back in the oh and i'm going to route that mesh in here actually what i'm going to do is do a do a get and then right click and go convert to validated get so that then will only run this code if the mesh has been set to something i'm going to route there i'm going to write target mesh to to static mesh asset i'm going to compile that okay now i've got my blueprint here see over on the right in the settings there they are target mesh so i'm going to just drag that static mesh i used before in there and i'm going to set it as the target mesh also here so we can see what happens so then if i change the settings i'm going to leave modeling mode click on this gizmo here make this skinnier click bake to static mesh and you see it updates the asset so now i can use a dynamic mesh to create and continuously update the static mesh okay thanks for watching
Info
Channel: Ryan Schmidt
Views: 16,972
Rating: undefined out of 5
Keywords:
Id: bLzxGmrxqRw
Channel Id: undefined
Length: 2min 19sec (139 seconds)
Published: Fri Feb 25 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.