I’d like to be able to add a component to a StaticMeshActor in a level via python, but I am having trouble with the code. I’m not sure I’m clear on the Name parameter from the API: https://api.unrealengine.com/INT/Pyt…l#unreal.Actor
This is my non-working code. I’d love any insight into this! Thanks!
I was having the same issue for another component type. I’d attempted all of the various ways you might imagine for that scenario:
‘unreal.AudioComponent’
‘unreal.Audio’
‘AudioComponent’
‘Audio’
etc.
In the end, I gave up on that function and went another route:
Hello! I’ve encountered some issue - The added component doesn’t editable and is empty(there is no options whatsoever), is this expected behavior? How to work with this this further?