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"

Why are Impulses and forces not working on destructible components?

I've spent 2 days messing with settings. the only functions that work are apply radial force and apply radial impulse. the others get ignored. I'm especially interested in applying physics to the chunks.

If there is a way to apply linear forces / impulses please let me know what your settings and blueprint look like. also, Im not looking to apply forces on damage, but rather after and before the fracture.

For context, picture a nicely furnished room with music that is so loud that everything shakes. as things hit the floor they shatter and continue to rumble with the bass.

Product Version: Not Selected
Tags:
more ▼

asked Aug 12 '14 at 08:29 PM in Bug Reports

avatar image

xdbxdbx
185 17 20 33

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

From your description it sounds as if you need your meshes to have more than one support depth for destruction. If you're creating your destructible in UE4 you'll only be able to have one support depth. This means that Depth 0 will be no destruction and depth 1 will be destroyed. If you use Nvidia's PhysXLabs standalone app or their plugin for 3Ds Max/Maya you can set different support layers for the destruction.

Setting up something like: Depth 0: no destruction Depth 1: slight destruction Depth 2: full destruction

These can be tweaked and set through the PhysXLabs or further tweaked in UE4 with all the depths.

The individual pieces will react to the environment and any forces and impulse as well.

You can find more information about Nvidia's destruction on their site at Developer.Nvidia.Com

If you have any questions about getting your destructible setup feel free to ask.

Tim

more ▼

answered Aug 13 '14 at 05:33 PM

avatar image

Tim Hobson ♦♦ STAFF
49k 886 98 874

avatar image xdbxdbx Aug 13 '14 at 07:43 PM

That doesn't sound quite right to me. I decided to reproduce this in an isolated setting. please tell me if you notice anything obviously wrong.

First, I took SM_Vase_1 from the realistic rendering demo and converted it to a destructible mesh. I set the count to 25 and fractured it to have 2 depths. then I changed impact damage to 1 and default impact damage depth to 1 and saved.

Next I created a new blueprint with just this destructible component. I made sure simulate physics is on, and that collisions are preset to destructible and generate hit and overlap events.

next here are my results:

EDIT: This doesnt seem to let me post more images so here is a link:

Radial Impulse: http://postimg.org/image/qnqd8x3kt/ the radial impulse makes the vase move. it will also make the chunks move. this is great.

http://postimg.org/image/qmgffi1r1/ I literally slid down the radial impulse and attached impulse. the vase will move, but once it fractures, nothing happens. hence why i believe its a bug.

as for my input there, I happen to be using my audio analisis plugin, but you can use a timer. every half second or so a dance song beat triggers the impulse. I have a force of 500. I've tried putting in 9999 and there's no difference when its not radial.

for the pics, above, I moved the vase up a meter or so and let it drop so it shattered. but rest assured I tried this with the vase before and after fracture. in my opinion there is something wrong with "add impulse" and also with "add force". try them all. only the radial variants ones work on the chunks.

[1]: /storage/temp/12649-destructible+mesh+settings.jpg

avatar image Tim Hobson ♦♦ STAFF Aug 13 '14 at 10:08 PM

With your setup I'm not sure if this is expected behavior or not. I will follow up with a developer. I did, however, setup a radial force in my BP components that was deactivated and then activated in my event graph to fire. This may be a workaround if in-fact the other node is bugged.

With your destructible mesh though you can only have one layer of destruction setup by using the fracture tool in UE4. There is depth 0 which is no destrution and depth 1 which is full destruction. For any other layers you'll have to use an external software.

(comments are locked)
10|2000 characters needed characters left
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