I made a small behavior script which works great when I attach it to actors in the scene. As soon as I attach it to actor components inside of blueprints it doesn’t work anymore.
GET OWNER doesn’t work when I try to cast the parent to a static mesh actor:
I know that there is a deep, fundamental difference between actors and actor components in UE4, but I simply don’t know how to handle this. Do they share some common interface to which I should cast everything or how is this supposed to work? Do I really have to make every twice, once for actors and once for actor components?
Is there any way to make blueprint scripts work with actors and actor components as well? Many thanks!
Engine version: 4.7.5