component fonction that can be defined in blueprint
I have a component that gives a "grabbable" functionality to any mesh component in an actor. What I want is the possibility in blueprint (at the level of actor blueprint event graph) to define a function that would be used by my component to adjust the grabbing position : the component have a base grabbing position, and i want the actor to eventually modify it to a better position.
My plan was to use a delegate declared in C++ in the component and exposed in blueprint, and to which I could bind a blueprint function. But it seems non const variable are not allowed in such delegates (including return values), so there is no way the blueprint can modify the position i'm giving to it.
Is there another way to be able at component level in C++ to "call" a blue print function, apart from defining an interface that the blueprint actor would implement ?
asked Apr 08 '19 at 04:30 PM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here