Download

How to controlling StaticMeshes of StaticMeshComponents in a separate ActorComponent?

So I have a character, made in the editor, with separate StaticMeshComponents for his head, body, hands and hat. Now I wanted to create an “appearance manager” in the form of an UActorComponent in c++ that would control what StaticMesh is in these StaticMeshComponents. This way I can push the arrows to switch hats for example. Is there any way to get the StaticMeshComponents from the character as pointers in the AppearanceManager through the editor? Or could I get them trough code?