How to construct component inside of another component?
I am trying to make custom ActorComponent, which can render my mesh (it's a flipbook). From googling around, I've found that for this I need to extend MeshComponent in C++ and render it there. But I've failed to find any samples of how to do this. What I have in mind looks quite simple - I want to reuse UFlipbookComponent and just control it from my component, but I don't know how to correcly create and initialize UFlipbookComponent inside my component. Extending UFlipbookComponent probably is much easier, but composition is just better.
Follow this question
Once you sign in you will be able to subscribe for any updates here