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"

hit event doesnt always fire on mobile but does on pc


as this hit event is used for the gameplay of my game project i really need to fix this bug

on computer, the game always fire the hit event ALWAYS (as i could see at least)

on mobile (not the mobile preview) but on real mobile (android nexus 5 here)

the hit event occur but only if the two colliding object hit slowly

the problem appear when the two object collide a bit faster

but.. visually they bounce each other, physics seem to work, but the HIT event isnt fire

this only appear on mobile yet, probably it would appear on pc too if the speed of the two objet colliding each other is faster than my test but as this time computer test never failed any hit fire and work as intented, but my game is designed for mobile and i need this to work for mobile :)


ps: i found a subject about this https://answers.unrealengine.com/questions/115096/hit-event-doesnt-always-fire.html started on 12 oct 2014 !

Product Version: UE 4.9
more ▼

asked Sep 23 '15 at 03:59 AM in Bug Reports

avatar image

625 42 59 88

avatar image skeleton60 Sep 23 '15 at 04:25 AM

here is my video demonstrating you the bug https://youtu.be/dgy0VWMJPvY

you can see in the first part, the test on computer, the pawn (the white guy) fall and hit the ground hard ! a hit event is fired because its print CAPSULE HIT the pawn die because the normal impulse was big

on the second part of the video, its the mobile video test, same level, same blueprint

the pawn fall, and the first hit he bounce but the hit event didnt occur, the pawn didnt die, and then when he fall back again after the bounce, he hit are fired, print message "capsule hit" are printed but the pawn cant die anymore as the normal impulse is now small

any idea?

avatar image Samantha Sutton ♦♦ STAFF Sep 24 '15 at 05:57 PM

Hey Skeleton60,

Thank you for bringing this to our attention. I have been investigating this issue further for you and have been unable to successfully reproduce it. In the middle of my project I did notice that destructible meshes are not supported at this time on mobile devices, which is what I had set up to hit. There is a bug in place for this issue: UE-12323.

With that being said, could you please provide me either a sample project, or the steps to reproduce your exact issue in order to verify this?

  • Are you working within 4.9.1?

  • Is the Editor from GitHub or the Epic Games Launcher?

  • What type of device were you working on?

Looking forward to hearing back from you, thanks!

avatar image Samantha Sutton ♦♦ STAFF Sep 28 '15 at 04:34 PM

Hey Skeleton60,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you!

avatar image skeleton60 Sep 28 '15 at 04:37 PM

hey i did an answer here but it got deleted or what?

i made a project that you can download to see the bug https://mega.nz/#!dcZ11ShQ!PPvbRQNyBjgBKh4WcZ19c60jFr_2pFz3LYc0S1uryo0

i am workng with 4.9.1 from epic games launcher and my device is a nexus 5

with the project you can see that the print string "hit" work fine on computer, but when u test on mobile device, the first impact dont print hit, the pawn bounce and then the other impact work fine

the first impact does not fire the hit event on mobile

avatar image skeleton60 Sep 30 '15 at 09:19 AM

can someone test this project on mobile and confirm that the hit event dont fire on mobile on the first impact?


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

1 answer: sort voted first

Hey Skeleton60,

I changed the capsule half height and capsule radius and it fixed the issue. I set mine to capsule half height: 38.0 and capsule radius: 20.0

Please let me know if you have any further questions, thanks!

more ▼

answered Oct 01 '15 at 07:48 PM

avatar image skeleton60 Oct 02 '15 at 03:51 AM

seem to work now :)

avatar image skeleton60 Oct 02 '15 at 03:53 AM

it work for the project i send you, but if the pawn fall from heigher then it dont cast fire event again

avatar image skeleton60 Oct 02 '15 at 04:00 AM

it work if i increase capsule radius & half heigth again but then the collision is not anymore around the sprite

avatar image Samantha Sutton ♦♦ STAFF Oct 05 '15 at 04:38 PM

You'll need to adjust the size of the collision to be slightly underneath the bottom portion of the sprite so that the hit event can be triggered. You may need to change the size or shape of the collision in order to get this correctly placed for your sprite.

(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