How do you get all SM components in actor to operate within utility widget? (I want to spawn the SM into scene)
Hey, can you try this? It will spawn a Static Mesh Actor for all of the meshes found. (You may need to change the new actor class from StaticMeshActor to a custom actor class).
Hope it helps
I meant do it in blueprints, I’ve added a screenshot showing what I mean.
Try getting the Static Mesh from each component and then spawning a StaticMeshActor with that mesh. Like this:
I cant do it manually, I have too many bp-classes, I was reading something about casting from bp-class, but unfortunately not sure how to make that work
would you suggest specific components to use and which in the bp and which in utility widget?
oh, okay, that works, thank you so much! is there a node to set also scale of the new mesh according to the BPs? cant find one
got it, thank you!
You can use “Set Actor Scale 3D” to set the actors scale
Awesome, could you accept my answer pleeeeeease
yes, of course.)
Can I just ask one more thing, I am trying to also set BPs materials and overridden light map resolution values, but not sure what are the destination nodes.
would you post a screenshot please?
alright, I ll set those within original meshes then, thank you very very much!
I actually came to another problem, is there a way how to group newly placed meshes in the scene when they are placed? I was not successful using ‘actor grouping utils’, thank you for your patience with me
The StaticMeshActor has a StaticMeshComponent, you can set the values in there.
No worries, good luck!
Calm down, I do have a life outside of answerhub
Group the StaticMeshActor that’s coming out of “Spawn Actor From Class”