When should a RootComponent be created?

Whenever you create a class in which the object will have a position/world information, must you create a new root component with respects to that class?

Hey -

I’m not sure I understand your question. When you create a class that can contain components (think Actors) it will have a Root Component by default. If a specific component is not set as the root component then one will be assigned arbitrarily. In this case if you are adding components to the class it is always best to specify which component you want as the root component and can define the component hierarchy by attaching components together with [ComponentToAttach]->AttachTo([ComponentToAttachTo]).


Thanks, that clears things up.