Announcement

Collapse
No announcement yet.

Please Help! UPawnSensingComponent not hearing Player Character [C++].

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Please Help! UPawnSensingComponent not hearing Player Character [C++].

    Hey guys! I have setup a Pawn Sensing component with OnHeardNoise Delegate in C++ and I have added a NoiseEmitterComponent on my player character C++ class. I'm emitting noise every frame in my Character BP using Pawn Make Noise node but the OnHeardNoise delegate is not firing. The weird thing is if I override the delegate in my EnemyAI BP, it starts to work but the C++ Delegate is not working. Please Help! :/

    #2
    Fixed! Override OnPostInitialize and register your delegates in there it'll work.

    Comment

    Working...
    X