x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Issues with BP GetOverlappingActors. Not returning values when they should.

Hello All,

So...I'm having this problem with GetOverlappingActors not returning any actors when it should. I have a weapon spawner (depicted by the Dragon Head in the editor pics below) and I am trying to get all of the actors that are overlapping the spawner (which has a collision component attached ((which is set to DynamicOverlapAll))). GetOverlappingActors appears to be returning an empty array, when it should have at least one element in the array, (as shown in the third picture below.)

Anybody have any ideas what may be causing this?

alt text

alt text

alt text

Product Version: Not Selected
Tags:
capture.png (288.8 kB)
capture.png (779.7 kB)
capture.png (873.7 kB)
more ▼

asked Oct 12 '14 at 06:13 AM in Blueprint Scripting

avatar image

The7thCrest
120 14 20 22

avatar image The7thCrest Oct 12 '14 at 08:13 PM

Still needing help with this. I have no idea what is going on here. I have tried declaring the UBoxComponent in C++ and calling[Roughly] BoxComponent->GetOverlappingActors(OverlappingActorsArray). I don'y know why no overlapping is being detected and both the Pistol's Sphere Component and the Spawner's Box Component are set to OverlapAll and GenerateOverlapEvents is set to true.

avatar image Reecon Jan 15 '15 at 04:10 PM

Hi there,

Have you had any success with this? I have kind of the same problem.

avatar image The7thCrest Feb 28 '16 at 08:44 PM

I just saw this question from quite a while ago. I'm really sorry that I can't help here. I'm fairly sure that I figured out this issue at some point, but the project that this question was based on has basically fallen prey to broken window syndrome, so I can't even load it up in editor anymore. My apologies. If I even to happen to figure out how I resolved this issue, I'll definitely post about it.

avatar image John Vanderbeck Jul 05 '15 at 12:27 AM

Having the same issue :(

avatar image b16redlined Jul 05 '15 at 12:39 AM

I did notice you are not specifying any class filter for Get Overlapping Actors. Try filtering it to something you know is overlapping it to see if you get any results.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

In case anybody else has that problem:

Make sure you have Generate Overlap Events enabled for the overlapping actor as well as the actors being overlapped. And that the overlapped actors are, in fact, set to Movable if you use OverlapAllDynamic.

more ▼

answered Feb 28 '16 at 11:47 PM

avatar image

phoboz
1k 38 13 61

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question