Announcement

Collapse
No announcement yet.

Capturing Actor overlapping not working

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

    Capturing Actor overlapping not working

    Hi everybody,
    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:
    https://www.youtube.com/watch?v=WSF2...MsgJqnEB_dGiM4
    The "GetOverlappingActors" doesn't produce results,
    This is the code:
    Code:
    TArray<AActor*> CollectedActors;
    CollectionSphere->GetOverlappingActors(CollectedActors);
    And it also doesn't work for me in another tutprial:
    https://www.youtube.com/watch?v=O47Z...st=WL&index=81
    Code:
    Code:
    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,
    Oded
Working...
X