The most basic thing ever. Removing actors and their children regardless of hierarchy. Seems to be practically impossible in UE? I cannot for the life of me think of why this would be the case.
Even in the World Outliner one has to select the Parent and then right-click->Select All Descendants for this task to happen. How can I do this programmatically in BP? I have tried everything but nothing gets rid of it all.
As a sidenote I cannot bind any events because I do not know the structure of the Datasmith-file I’m importing. There can be any amount of levels and sub-Actors. There has to be ONE way of doing this?
As an example: in Unity3D world you simply destroy the parent and all children will go at the same time. Logical and simple. Why not in UE?
Unreal is different from unity.
the “children” you refer to in the hirerarchy are not “child actors”, they are actors attached to the root of the first actor.
to reference them in blueprints use Get attached actors on the “parent”
I’ve tried that but it only ever gave me the first level och attached children. My structure is unknown so would have to make an overly complicated recursive lookup when I know there is an internal representation (because the editor can select all children). I find it weird that this is the case.