So I have an actor in the scene that calls all other actors that implement the ‘gravity interface’ BP interface.
the actors with that bp interface (a soup can in this case) will then switch their own gravity off like this;
This works fine but instead of making a blueprint for all the other actors I want to convert this into an actor component so that I can drop it onto every actor that needs to turn off gravity.
I can’t seem to get this working though.
I’ve made an actor component and dropped it on an actor in the scene but the event is not being called in there.
Tutorials haven’t gotten me any further. does anyone know how to do this? any help would be very much appreciated.
I would just use a main parent (child of StaticMeshActor) to handle that, so SoupCan and any other object with similar function would inherit from that main BP. Am I missing something?
I know what you named the function. Where exactly are you making the call? I think you might be calling the interface function on the actor BP not the actor component BP, and the actor doesn’t have the gravity interface.