I’m making a custom skeletal mesh component and want to spawn other components from it and attach them.
The reason for this is the characters in our game have a lot of customisation options and it would be really cool to have a skeletal mesh component that handles all of this, so that we can re use it in different places and not just in the character BP.
I managed to build all the morph target functions we need into the skeletal mesh component pretty easily and this works really nicely. So the next step is spawning extra meshes and attaching them like hair for example.
I can spawn a mesh and attach it no problem, but it doesn’t show up in the blueprint editor components list and if I set it as VisibleAnywhere all of the properties show up in the same details panel as the main skeletal mesh component. I’m wondering if there’s a way to spawn a component from a component and have it show up correctly in the BP editor? The other way of doing this would be with a child actor but that doesn’t seem like a great way of doing it.