I have some logic that controls the movement of an actor (e.g. its speed). My approach is to make this an ActorComponent so I can add the behavior to an existing actor.
Question 1: Is this correct?
. I would like to make use of this component not in C++ code, but in Blueprints. However, I somehow can’t expose this component to my Blueprints. My understanding is that I should be able to add this extension using the “Add Component” button on the BP’s Components tab.
Question 2: correct?
But my ActorComponent doesn’t show up in the component search.
Final question: What do I have to do to expose it? Specifiy certain macros and attributes?
Thanks for your help!