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"

Sphere colliders of 2 actors from the same blueprint not detecting actor overlap. What's going wrong?

I have one blueprint called GoPoint that has a sphere collider attached to it as one of the components. This blueprint has been duplicated twice indicated by the two green circles in the screenshot attached. The GoPoint is an actor and the problem I have is that when I use "Event ActorBeginOverlap" neither GoPoints detect each other although the collider is overlapping. What am I doing wrong? Is it impossible for the same blueprint to communicate with its twin perhaps?

Thanks in advance for any assistance you can provide.

Happy Holidays

EDIT: I should note that there is no physical object attached to the actor, only their colliders. Is this a problem? The white circle you see is just a visual cue from the engine, it is not rendered in game. Thank you.

alt text

alt text

alt text

Product Version: UE 4.18
more ▼

asked Dec 22 '17 at 01:35 AM in Blueprint Scripting

avatar image

5 1 3 4

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

1 answer: sort voted first

Make sure you have the collision settings right. You need to enable collision (Query only if you're not using physics, Query and physics if you are). Then you need the collision channels to match. For one component, the object type of the other must be set to "overlap" and vice versa.

For a step-by-step, there are plenty of resources explaining this, including video tutorials. Just do a search. I did a quick check and found this (https://www.unrealengine.com/en-US/blog/collision-filtering). It looks like it lays out the basics.

more ▼

answered Dec 22 '17 at 01:42 AM

avatar image

4.4k 32 79 42

avatar image Sfoxx28 Dec 22 '17 at 05:07 AM

I followed the link you gave me and I made sure that the collisions are right. They are all set to overlap. However Event Actor Begin Overlap is still not picking up the overlapping objects.

I can use the function Get Overlapping Actor (target is primitive component) with Event Begin Play and it will pickup the overlapping actor. However this will not work for what I need.

alt textThanks for helping me on this Jin_VE. If you have any other thoughts on what might be the problem please let me know.

avatar image Jin_VE Dec 22 '17 at 05:11 AM

ActorBeginOverlap? No. You want to use the event that is related to the component that is being overlapped. Click on the component in the Components panel and scroll to the bottom of the Details panel. There are green buttons. You want to Add the OnBeginOverlap and OnEndOverlap events. If you set up the collision properly then those events will trigger.

avatar image Sfoxx28 Dec 22 '17 at 05:01 PM

Thanks Jin_VE, I used those two events and they didn't work at first until I noticed that the "Generate Overlap Events During Level Streaming," found under Actors in the Details section in the editor, was unchecked. After I checked that box the event fired and returned a result. I've learned a bit more about UE4. Thanks for your help!

alt text.

solution.png (264.3 kB)
avatar image xlar8or Dec 22 '17 at 08:47 PM

If this solution fixed the problem, please mark the answer as correct :)

(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