How to have an actor pass through a destructible?

I have a plane of glass which is partially fracturing when I throw an actor at it. However, on the first impact, the actor bounces off the glass plane, although I still get the fracturing.

On the second hit the actor knocks the debris out of the way and passes through correctly.

Is there a way of having the actor pass through straight away? I have “Impact Resistance” set to 0.0

Hi ,

Set your Impact Resistance to something other than 0 and this should get it passing through without bouncing off the first hit.

Give this a shot and let me know how it goes. If you’re still having trouble post a screen shot of your Damage Parameters or post the settings here.

Thank you!

Tim

Hello,

Unfortunately the ImpactResistance had no effect. After the shatter, the projectile can knock the debris about happily but the initial impact, I get the shatter, then the projectile bounces off.

Are you using the First Person Template’s projectile for your weapon? I’ve tried reproducing this and I’m not seeing the same bounce that you’ve described necessarily.

I’m using a simple wall Destructible with the same settings. I’m getting my wall is breaking in parts and being tossed across the level.

I can adjust settings to get it to destroy on impact and to have it break apart after multiple shots.

The problem here is that you may want to consider using PhysX Labs to have more depth layers. If you’re wanting to have a mesh that doesn’t all break all at once you can set up a mesh to have multiple depth layers with support chunks enabled.

If you want it to break on the first hit, go back into your DM Special Hierarchy Depths and put support Depth at 0. Right now you have it at 1 which is the most depth layers you can create in UE4’s fracture tool. This is why you’re seeing the bounce from the first hit to trigger the initial break. Then the additional hits will chunk away more at the mesh.

Let me know how this works out. :slight_smile:

Tim

Thanks for all of this info. I have spent the last 2 days battling with PhysX lab in order to achieve destruction. I wanted to do partial destruction, and found a few questions asking about this, but didn’t find any concrete answers. A youtube tutorial would really help a lot of folks I think =D Also the documentation on PhysX lab seems very “incomplete”

Yes I have 1 depth of destruction, I go to PhysX lab and import a .fbx model. I then create a Voronoi shatter, this produces level 1. I then import into UDK and shoot a projectile at it and I get bounce. 2nd hit then gives me a ball passing through. I am wondering if there was anyway you could record what you were doing when you set this up and then publish the movie file?

What would my depth layer looks like in PhysX lab? Depth 0 is unfractured? Depth 1 would be what? Depth 2 would then be the voronoi shatter? Then it should work? How do I create those depth layers?

The documentation on Nvidia’s site is there. It’s a little rough around the edges at times to go through for their PhysX Labs for sure.

The video tutorials they have for using their PhsyX Labs standalone app are very useful. These are what I started with when I started working with PhysX Labs DM’s.

The two vids to focus on here are the Cut-Out Fracturing and the Jersey Barrier ones.

In the Cut-out Fracturing vid you will get an idea (Not exactly what you want but enough to point you in the right direction) for using depth layers.

The Jersey Barrier vid covers using support chunks and pieces you wouldn’t want to be destroyed (think window with sharp edges still left in the window frame).

What would my depth layer looks like
in PhysX lab? Depth 0 is unfractured?
Depth 1 would be what? Depth 2 would
then be the voronoi shatter? Then it
should work? How do I create those
depth layers?

You will need three depth layers.
0 - No Destruction
1 - Support chunks that won’t be damaged (same example as before, think Window Frame with Glass shards that are left behind)
2 - Fractured pieces that scatter

The cut-out fracturing vid will cover how to set the depth layers. You just won’t need to have the slice go down the x axis as it does.

I am wondering if there was anyway you
could record what you were doing when
you set this up and then publish the
movie file?

I don’t really have the capability to record any movies as I don’t have any capture software on my workstation. The only settings I changed, as I had mentioned before. was under the Special Hierarchy Depths changing the
Support Depth to 0 instead of 1