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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Is it possible to get Hit Events from kinematic (non-simulated) collisions?

Hi everyone,

This is my situation.

I have a sphere collision component within my character that I want to receive OnHitComponent events for when it collides with any static meshes in the game world, such as the walls/floors/props/etc.

This component is attached to a hand bone in my character that moves with the bone when I perform a melee animation. Hence, this animated motion, and subsequent collisions, are being driven kinematically.

I have ensured that both the static meshes in the world and my sphere component are set to "BlockAll" in their collision preset, with collisions enabled.

However, I have discovered that the only way for me to actually get hit events is if one of the two colliders is "Simulating Physics", and the sphere is set to "Simulation Generates Hit Events".

However, I don't want the meshes in the world, nor the sphere to have simulated physics. I simply want to detect a collision.

One workaround is to setup the sphere to detect an "overlap" instead. This works fine, but I would much prefer a hit event, because I don't want to have to set every single static mesh in my world to "Generate Overlap Events". Also, I've read that hit events provide more data than overlap events.

I have read mixed messages on this topic from the forums and the documentation, so I'd like a definitive answer on this if possible.

Can I receive hit events on components when I'm not simulating physics, or is the 'hit event' feature limited to 'simulated physics' objects only?

Product Version: UE 4.12
Tags:
more ▼

asked Sep 17 '16 at 12:08 AM in Using UE4

avatar image

hb_jwang
1 1 1

avatar image jedi5218 Jun 09 '18 at 06:57 PM

I have a similar problem with my kinematic setup. Had you solved your problem, after all?

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

0 answers: sort voted first
Be the first one to answer this question
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