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"

I want to make OnComponentHit(StaticMesh) fire without physic simulation.

I add Pawn Class, and create components like the picture. I want to detect whether the StaticMesh hits something or not. So I added 'OnComponentHit(StaticMesh)' event, but this doesn't fire at all.

alt text

If the root component is Static Mesh, Event Hit works properly. (I think this is because the actor (self) is moving with the sweep is active.) However, because of the features of the actor's movement, I don't want to set StaticMesh as root component.

StaticMesh has Collision, and collision preset (in pawn class) is BlockAllDynamic. StaticMesh isn't simulate physics or doesn't sweep. (Although 'self' moves with sweeping.) I want to make OnComponentHit(StaticMesh) fire in this condition. How can I make it?

alt textalt text

Product Version: UE 4.11
2016-06-14.png (17.1 kB)
2016-06-14 (2).png (207.5 kB)
2016-06-14 (1).png (41.8 kB)
more ▼

asked Jun 13 '16 at 10:01 PM in Blueprint Scripting

avatar image

43 9 10

avatar image SomeBroYo Jun 25 '17 at 12:15 AM

Bump, running into the same issue

(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