Okay, everything is finally working! Seems like there were two major issues with my code which prevented the events from firing properly on collision:
- As STRiFE pointed out, any components added via c++ seemingly must be flagged as
UPROPERTY
or they will be garbage collected by Unreal and thus will not be able to be used for anything (collisions, in this case) - Furthermore, it seems that any function that you want to bind via
AddDynamic()
must be flagged as aUFUNCTION
. Not sure as to why this is the case, but adding this before all of the functions I wanted to bind fixed the issues. No specifiers are required either, it can literally just beUFUNCTION()