When would you want a child actor component over an actor component?

Just curious about the reasoning to why you would want to use a child actor component vs an actor component and which one is best for keeping functions to be added to a pawn?


ChildActorComponent creates an actor that is attached to another actor. An example from my project is that I have a child actor component for weapons a character can equip which is attached to the character hands.

The actor component is just an empty component that does NOT render anything. Again an example of how I use this is an inventory component, that I just store some data and have some functions related to the inventory.

It sounds like you would want to use the ActorComponent.

~ Dennis “MazyModz” Andersson