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. 

Get Sweep Result from OnComponentBeginOverlap

alt text

I am trying to make a melee combat game, therefore I need to create overlap event between character mesh and weapon mesh, to create variation on hit reaction I need more information than just overlapped actor, how can I get the information like bone, impact point, physics mat from sweep result? I know if I want physics mat to return, I need to pass a FCollisionQueryParams, where should I do that?

Many Thanks

Product Version: UE 4.17
Tags:
question.jpg (65.9 kB)
more ▼

asked Dec 31 '17 at 09:20 PM in Using UE4

avatar image

ShankIsUsed
18 2 3 6

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

1 answer: sort voted first

Hey there, instead of doing that you could do a Line Trace from the bottom of the blade to the tip and you'll get that information. The current way you are doing will fire even if you are not attacking and will be for the entire model, instead of just the blade part.

more ▼

answered Jan 01 '18 at 09:49 PM

avatar image

xlar8or
6k 161 129 304

avatar image ShankIsUsed Jan 03 '18 at 03:29 AM

Indeed, it does provide very sufficient information from the overlap event, include the bone name, hit Position etc.... Box Trace or line Trace depends on preference, thanks man

(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