Moving a group of actors through code/blueprints
I know that UE4 lets you create a "group" of actors by selecting them, right clicking, and choosing "Group". This enables you to transform or duplicate them together as if they were a single object.
My question is, is it possible to transform groups through blueprints or code, just as you would in the editor? Like if I create a structure with geometry brushes, and then group them together in the editor, can I then move that structure programmatically somehow, such as when the player presses a button?
asked Oct 27 '16 at 02:35 AM in Using UE4
Unfortunately you can't, but you can add a tag to your object in the scene, and then get all actors in the scene that have the tag you assigned and move them, however depending on how often you do that in the scene, and depending on the number of actors you are trying to modify, this might not be efficient.
Another way would be to group those actors by simply adding them to a blueprint element
answered Oct 27 '16 at 05:27 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here