Binding Overlap delegate in UBoxComponent subclass
I'm new to c++ and can't quite get a handle on delegate binding. I'm trying to write a class derived from
I also have a dynamic array of primitive components declared for this class. What I would like this component to do is maintain an index of any and all components from other actors it is overlapping with. Here's what I've got so far:
I'm getting several errors:
I'd be hugely grateful for any help here.
asked May 17 '15 at 10:59 PM in C++ Programming
Got it working pretty much by just leaving out the delegate type declaration (and getting the right delegate function signature. So now I really don't know where/how to use
Here's relevant code:
This is pretty intuitive and I would have done this first off if I hadn't read through all the delegates documentation.
answered May 18 '15 at 10:53 PM
The error occurs because you have the same name StartOverlappingDelegate for the variable and for the function.
Hoep this helped!
answered May 18 '15 at 06:42 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here