Cannot get into NotifyHit function
I am trying to get a function to call in my pawn class whenever my pawn bumps into something or hits it. (It's going to damage the ships shields based on how hard I hit an object.)
I am using a pawn with the starter content UFO guy for now as I get the game working.
I am trying to simply override the NotifyHit function Here's what I've got:
In the Pawn's header:
In the Cpp:
I do not get into this function at all.
asked Jul 17 '15 at 12:58 AM in C++ Programming
On the Root Mesh Component I had to enable the following settings.
I should point out that This C++ variable corresponds to a bool in the editor named: Simulation Generates Hit Events. One of these names should probably be updated to more appropriately reflect the other.
answered Jul 17 '15 at 02:04 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here