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"

Setting up collision for melee weapons

I'm currently working on a game that I want to function in a similar way to games like dark souls with combat. My main aim is to make it so that weapons don't cause blocking collision but do trigger Hit() events on meshes they collide with, so I can track things like the bones / socket they hit etc.

I understand that it's possible to create objects that you can move through and still create hit events, but I can't seem to get this working.

What settings would I need on the weapon mesh and character mesh to achieve this.

Product Version: UE 4.18
more ▼

asked Nov 04 '17 at 10:07 AM in C++ Programming

avatar image

90 19 35 46

avatar image ColdSteel48 Nov 04 '17 at 10:10 AM

What have you tried? Overlap event won't help you? BTW there is a plugin on marketplace that does it all in a great way.

avatar image Belven Nov 04 '17 at 10:30 AM

So far I have a cube that I can walk through and it creates a overlap event, seems to work fine. BUT it doesn't give me things like the impact point, so I can dectect the bone hit etc.

avatar image ColdSteel48 Nov 04 '17 at 10:38 AM

Then I can suggest you to use a Shape Trace on Overlap event and with the trace you will get the impact point and a component being hit by the trace.

The shape should match your weapon shape ofcourse.

avatar image Belven Nov 04 '17 at 10:40 AM

That sounds cool, i'll have a look.


(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