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"

What is the correct method for retrieving an actor's physical material via a line trace in blueprints?

The idea is to setup a headshot system were each body part has a different physical material. Through the same line trace used to determine the hit location I would also like to retrieve the physical material to determine which body part was hit. I've followed this tutorial on how to setup a physical material and assign it to a body part and I have set trace complex to true.


Product Version: UE 4.10
more ▼

asked Dec 07 '15 at 09:44 PM in Blueprint Scripting

avatar image

6 3 5 8

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

1 answer: sort voted first

Have you considered using LineTraceForObjects? It contains Physics Material as an output - which seems to be what you are interested in.

Alternatively, Event Hit has the same output if you are performing a projectile collision check.

alt text Event Hit

linetrace.png (52.3 kB)
event hit.png (31.7 kB)
more ▼

answered Dec 08 '15 at 09:51 AM

avatar image

Nick Jackson
492 17 14 107

(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