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. 

Damage modifies pawn

Is there a way so as to modify the pawn's static mesh when it receives damage so that a specific part of the pawn mesh is damaged? Suppose I have a vehicle and on a head-on collision with a tree, the front part is damaged. I don't want a GTA V-esque damage but rather something like a GTA San Andreas type vehicle damage. However, if a damage detection like GTA 5 is present in the engine how do I use it?

Product Version: UE 4.19
Tags:
more ▼

asked Jun 06 '18 at 11:13 AM in Using UE4

avatar image

Jakoban
28 4 7 12

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

1 answer: sort voted first

If I understand correctly you want to check which part of the skeletal mesh is hit so you can modify your mesh accordingly ?

If that's what you want to do, I think the best way to do it would be to create a physics asset for your skeletalMesh. In the physics asset you can apply different PhysicalMaterials on each part of the mesh. If you create one physicalMaterial for each part of your vehicule that can be damaged, you can then apply them where you want.

When you apply damage, I believe there is a hit result, it contains the PhysicalMaterial that was hit, it should allow you to determine which part of your mesh was hit.

I don't know if I was clear as I don't have any screenshot example right here :/

more ▼

answered Jun 06 '18 at 09:21 PM

avatar image

ZazarLaLiche
218 2 3 7

(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