Actor Component vs Scene Component?

What’s the difference between the two? When I want to give an actor a component that has functionality and/or static meshes, which should I use?

1 Like

I think you may want a Child Actor Component if youre wanting to give StaticMeshes to a parent Actor. Components typically only do functionality with an associated Actor, you could pass mesh references from a component to the Actor for creation of the StaticMesh Components on that end of things if thats what youre after. Generally speaking though Child Actors are designed for attaching functionality with additional components to another Actor.

ActorComponents that have a transform are known as SceneComponents and those that can be rendered are PrimitiveComponents.

So basically ActorComponents are for the most basic of functionality which doesnt require access to a transform (location, rotation, scale) and SceneComponents allow things like moving all child components relative to the parent Actor.

1 Like

Awesome. This helped me solve a problem that shouldnt have been one. Thanks!!!