C++ Collision detection not triggering

For me having my binding function in begin play fixed the issue

GetCapsuleComponent()->OnComponentBeginOverlap.AddDynamic(this, &ATheTowerCharacter::OnOverlapBegin);