I’m a new to UE4,
I’m following video tutorials on programming C++ with UE4,
And I can’t seem to get anything with capturing Actor Objects overlapping to work.
I doesn’t work for me here’ in the Battery Collector tutorial:
The “GetOverlappingActors” doesn’t produce results,
This is the code:
TArray<AActor*> CollectedActors; CollectionSphere->GetOverlappingActors(CollectedActors);
And it also doesn’t work for me in another tutprial:
tBox->bGenerateOverlapEvents = true; tBox->OnComponentBeginOverlap.AddDynamic(this, &AMyActor::TriggerEnter);
Any Ideas why?
I tried both tutorials in UE 4.10 and in UE 4.11
Thanks for any reply,