#include <DestructibleAsset.h>
Public Types | |
enum | Enum { ASSET_DEFINED_SUPPORT = (1 << 0), WORLD_SUPPORT = (1 << 1), FORM_EXTENDED_STRUCTURES = (1 << 2) } |
Flags that apply to a destructible actor when it created
Enum of destructible init parameters flag
ASSET_DEFINED_SUPPORT |
If set, then chunks which are tagged as "support" chunks (via DestructibleChunkDesc::isSupportChunk) will have environmental support in static destructibles. Note: if both ASSET_DEFINED_SUPPORT and WORLD_SUPPORT are set, then chunks must be tagged as "support" chunks AND overlap the PxScene's static geometry in order to be environmentally supported. |
WORLD_SUPPORT |
If set, then chunks which overlap the PxScene's static geometry will have environmental support in static destructibles. Note: if both ASSET_DEFINED_SUPPORT and WORLD_SUPPORT are set, then chunks must be tagged as "support" chunks AND overlap the PxScene's static geometry in order to be environmentally supported. |
FORM_EXTENDED_STRUCTURES |
If this is set and the destructible is initially static, it will become part of an extended support structure if it is in contact with another static destructible that also has this flag set. |