MySphereComponent->OnComponentBeingOverlap.AddDynamic don't work
i'm trying to set a UFunction delegate to manage overlap events generated by MySphereComponent
i've wrote something similar to this:
But the AddDynamic method seems to not exists...
How can i do that? Thanks and sorry for my english :)
asked Sep 19 '14 at 12:13 PM in C++ Programming
Just had the same issue last night and Larraz on the forums managed to help.
AddDynamic is a macro that calls __Internal_AddDyamic. (From what I can tell AddDynamic handles taking care of the function name string) So it will appear to not exist in your code, but if you compile it will handle it.
Also another pitfall I ran into: Ensure the implementation of OnOverlap has the following parameters: class AActor* OtherActor,
I tried following an example on an extremely similar piece of code and the documentation did not include the latter two parameters.
Follow this question
Once you sign in you will be able to subscribe for any updates here