Can't trigger callback USphereComponent collision
New to UE4 and C++. I am trying to get some basic collision/proximity code working. I can see the ProxSphere in blueprint editor and the sphere is visible in the editing viewport. When I run the scene it logs out the "NPC INIT" message from the constructor, but I can't seem to be able to get the Prox function to run when player character enters the sphere.
Your setup appears correct, I had the same issue using OnComponentBeginOverlap and have entered a bug report (UE-29879) for investigation. As a workaround, you should be able to use OnActorBeginOverlap() instead, or set up the component overlap through blueprints with an event dispatcher / custom event.
answered Apr 25 '16 at 03:26 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here