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"

Get Overlapping actors returns empty array

Hello all,

The title basically says it all. I'm using a box collision with the "Get Overlapping Actors" node, filtering on a certain class of actor and it consistently returns an empty array.

alt text alt text alt text

I searched this question already and there didn't seem to be any conclusive answers.

Any help would be appreciated, thanks in advance!

Product Version: UE 4.20
Tags:
1.png (199.9 kB)
2.png (1.2 MB)
3.png (484.3 kB)
more ▼

asked Sep 17 '18 at 09:41 PM in Blueprint Scripting

avatar image

Sauntiago
19 1 6 7

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Assuming the Box Back Left's collision settings are at default, the door needs its collision set to at least World Dynamic - Overlap. Could you shed some light on the door collision setting.

more ▼

answered Sep 17 '18 at 10:14 PM

avatar image

Everynone
13.7k 74 25 57

avatar image Sauntiago Sep 17 '18 at 10:29 PM

Here it is - ![alt text][1]

Everything is set to block... not sure if that helps. [1]: /storage/temp/253954-4.png

4.png (290.7 kB)
avatar image Everynone Sep 17 '18 at 10:53 PM

So you've got a custom object type here. Is the box collision set up to detect this object type then?

avatar image ThompsonN13 Sep 17 '18 at 10:54 PM

block doesnt necessarily mean overlap. but in your case have you checked generate overlap events on both actors, its a checkbox just below the phys material override.

avatar image Sauntiago Sep 17 '18 at 11:09 PM

Here, the box collision is set to overlap doorobjects and it still does not detect.

I also set the door to generate overlap.

alt text alt text

5.png (788.1 kB)
6.png (270.9 kB)
(comments are locked)
10|2000 characters needed characters left

Nevermind, I had the box collision set to "Overlap All Dynamic" which does NOT automatically include overlapping custom object types. When I changed them all to do this and double checked that all the door objects were generating overlap events, it worked. Thank you guys for pointing me in the right direction !

more ▼

answered Sep 17 '18 at 11:15 PM

avatar image

Sauntiago
19 1 6 7

(comments are locked)
10|2000 characters needed characters left
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