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"

Event ActorBeginOverlap not firing

I know this topic comes up quite regularly, but I've read plenty of old threads about it and can't find a solution.

I'm having trouble getting an "ActorBeginOverlap" event to fire.

I actually had overlap events working perfectly on an old version of the project, but after refactoring the blueprints, I can't get them to work again. For this reason, I suspect it may have something to do with the fact that I'm inheriting my weapons from a parent class, because in the old version, each weapon was just a separate class derived from the "Actor" class. I haven't started refactoring the enemies yet, so it's most likely that the problem is with the weapons.

My collision settings look like this:

alt text

for the weapon projectile, and this:

alt text

for the enemy. My meshes both have collisions on them:

alt text alt text

And to simplify the troubleshooting, I've added a "Print String" node to the Event Graph of my child projectile:

alt text

My projectile moves fairly slowly, and I can watch it pass through the enemy and come out the other side. The "Print String" node does not fire, nor do the nodes I have attached to the "ActorBeginOverlap" event on the parent Event Graph.

Also, the old version was made using 4.7, while the new one is 4.8. But when I open the old one using 4.8, it still works, so I don't think that has anything to do with it.

Does anyone have any idea what I'm missing?


Product Version: UE 4.8
bomb.png (35.1 kB)
enemy.png (35.3 kB)
bomb_collision.png (337.8 kB)
enemy_collision.png (438.3 kB)
more ▼

asked Jul 09 '15 at 01:05 AM in Blueprint Scripting

avatar image

3 2 3 4

avatar image mirsabayu Jul 09 '15 at 02:41 AM

is this static mesh is the root component of your blueprint?? if not. maybe the overlap event is not firing because your the actor begin overlap event will fired when it detect collision between the ROOT Component not the sub component

avatar image BZ1 Jul 09 '15 at 03:25 AM

It appears to be. I added a "GetRootComponent" node to the Event Graph of my parent class, and it outputs the name of my mesh each time an instance of a child class is spawned.

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

1 answer: sort voted first

I figured out what the problem was. I had the scale on the spawn transform of the projectiles set to (0,0,0). I don't understand why the mesh was still visible, but it was causing it to not fire overlap events.

more ▼

answered Jul 09 '15 at 08:17 AM

avatar image

3 2 3 4

(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