Creating Actor Components
When creating an Actor Blueprint, we often add components with encapsulated functionality ready to use, such as Projectile Movement, Static Mesh, and Collision components. We can also create our own Actor Components using Blueprints.
When creating a Blueprint, in the Pick Parent Class panel, there are two COMMON classes that can be used to create components, namely Actor Component and Scene Component:
The Scene Component is a Child class of the Actor Component that has the Transform structure (location, rotation, and scale). Because of the Transform, a Scene Component can be attached to another Scene Component. We will explore the Scene Component in the next section.
When scripting a component in the EventGraph, you can get a reference of the Actor that is using the component with the Get Owner node: