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"

UE4 (4.7) - OnBeginOverlap Events Not Firing

Hey Guys,

I have an issue where I have a box attached to the character and when that box overlaps with something, It fires the OnBeginOverlap Event and applies damage to the other actor. I have gone into the details of the components and made sure to check on "Simulate Generate Hit Events" and "Generate Overlap Events" but I have had no luck so far.

Does anyone have any ideas or suggestions?

Thank you

Product Version: Not Selected
Tags:
more ▼

asked Mar 06 '15 at 10:07 PM in Blueprint Scripting

avatar image

Sykrow.
21 2 5 6

avatar image Samantha Sutton ♦♦ STAFF Mar 06 '15 at 10:22 PM

Hey GD38Harley,

Which version of the Editor are you using? Also, could you be able to provide me with a screenshot of the exact blueprint you're using?

You may benefit from the following information as well: https://docs.unrealengine.com/latest/INT/Engine/Physics/Collision/index.html

Thank you!

avatar image Sykrow. Mar 06 '15 at 10:33 PM

Oh sorry, I am using 4.7.0

Originally I had it set up with the branch you see above but I swapped it out for a cast to see if that may help but again, no luck.

Thank you

alt text

screenshots.jpg (379.0 kB)
avatar image Sykrow. Mar 06 '15 at 10:57 PM

Just to add a bit more, These are pictures of the Settings in the details tab of both my character and enemy blueprints.

The Image on the Left is my Character. The Box component is supposed to apply damage when it overlaps with the enemy character.

The image on the right is the details of the enemy character

alt text

02.jpg (159.1 kB)
03.jpg (142.7 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Alright I found the issue. When the player Attacks it turns the collision on the box On so it can apply the damage only when the player is performing an attack but when I re-set it up I forgot to hook it back up.

Thank you all for the Help I really appreciate it!

more ▼

answered Mar 06 '15 at 11:50 PM

avatar image

Sykrow.
21 2 5 6

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

"Generate Overlap Events" must be ticked and your actor must be set to overlap in its collision profile.

more ▼

answered Mar 06 '15 at 11:03 PM

avatar image

MulleDK19
2.8k 161 274 255

avatar image Sykrow. Mar 06 '15 at 11:20 PM

Thats the thing though, I've tried setting it to that but still no luck..

I have been working in 4.6.1 but I was having Root Motion issues so I recreated the Characters in 4.7.0 and it fixed the Root Motion issue but caused the Overlap event problem.

avatar image MulleDK19 Mar 06 '15 at 11:37 PM

Have you set the collision to overlap in the collision profile? Under "Collision Presets".

(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