Editing Hierarchy of an Actor with Python

KnartGames
Thu, 17 Apr 2025 16:02:06 +0000
Programming & Scripting

So I am looking to add multiple custom scene components to an actor which has a hierarchy. It may look something like this:

but extended to perhaps hundreds of meshes. The question I have is how would I, 1. Find all static meshes in the hierarchy, and 2. Attach a scene component to them? I have been trying to find a python solution but may pivot to blueprint widget soon if it could be easier as the “add component” functionality in python seems buggy or nonexistent.

Thanks for your time!

1 post - 1 participant