Tim Hobson

Destructible: World Support

​In this example we'll go over the use of the "World Support" flag in the Destructible Mesh Settings. 

World Support is simply a way to enable the Destructible to be environmentally supported by any static geometry inside the level that it's in contact with so long as it has at least a Support Depth of 1. 

Setting up World Support

​The setup is fairly straight forward. There are two things that initially need to be setup to make this work. Support Depth needs to be set to the depth layer that it will be supported. If you're using the in-editor tool this will simply be 1, since there cannot be more than one depth layer created in this tool. 

The next setting is to enable "World Support" flag. 

Demonstration

How This All Works

​By enabling World Support and using at least a Support Depth of 1 we have enabled our destructible to be supported by static geometry that it's in contact with. 

The Support Depth allows chunks to stick together without breaking apart unless they've received enough damage to do so. By enabling World Support this will keep the chunks that are in contact with static geometry that have not received enough damage to break free supported and in place. 

The outer edges in this DM are supported by the static walls because they've not received enough damage to break free yet.
​In the video demonstration, we see the first wall does not have World Support enabled. This allows the wall to be pushed back when enough force hits it. It will bounce around since it's not supported by the environment, whereas the second wall is supported by the floor that it's in contact with causing the bottom of the mesh to be environmentally supported by the static geometry.