Apologize upfront for such a rookie question.
Let’s say I’m building a Space Shooter game, so I start off by creating the blueprint for the player (BP_Player). I want it to have 2 components: a StaticMesh and a BoxCollision. I can come up with 3 ways in which I could arrange these components:
- First option: I could create a Scene component (overriding the DefaultSceneComponent), then create the BoxCollider, then the StaticMesh.
- Second option: Maybe I could just make the BoxCollision the parent, and let StaticMesh be the child.
- Third option: Why not, I set the StaticMesh to be the parent, and the BoxCollision its direct child.
I understand these are 3 different ways to achieve the same result. But maybe there is a standardised way to do it in the UE4 community, that I should be aware of. Is one way always preferred over the other? If not, when should I go for one option or the other?
Needless to say, I will disable collision detection on the StaticMesh, since that’s the job of the BoxCollision.
Thank you!