Aflter 3 months developing only in BP I think it is now time to start migrating some actors to C++.
There’s something that I don’t know exactly how it should be done.
I’ve already created the c++ class with all components inside. I can drag it to the map and it displays just fine.
When I use a BP actor, I can open it in the editor and see how it looks in the viewport and adjust positions, rotations, sizes etc from there.
I cannot do this with a C++ class. This makes it very hard to place the components in their correct places as I have to edit the C++ code, change positions, compile and check the result.
Is is correct if I create a BP and derive it from my C++? I would then be able to visualy see the actor in the editor and maybe adjust positions there. I’m not sure if this is a good practice.
I’m not really sure where whould I set the components positions inside the C++ class. Should I do that in the constructor? Should I do that in OnConstruction override?