I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE3:PhysXDestructibleStructure (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> PhysXDestructibleStructure
Package: 
Engine

null

Properties[edit]

Active[edit]

Type: array<int>

Modifiers: native, transient

List of active chunks

ActorKillList[edit]

Type: array<PhysXDestructibleActor>

Modifiers: native, transient

For delayed killing

Actors[edit]

Type: array<PhysXDestructibleActor>

Modifiers: native, transient

The actors within this structure. They form an island.

Chunks[edit]

Type: array<PhysXDestructibleChunk>

Modifiers: native, transient

The chunks from all of the actors in this structure.

FractureOriginChunks[edit]

Type: array<int>

Modifiers: native, transient


FractureOriginFifo[edit]

Type: array<int>

Modifiers: native, transient

No chunk will be user fractured twice, so the maximum length is Chunks.Num()

FractureOriginFifoStart[edit]

Type: int

Modifiers: native, transient


Manager[edit]

Type: pointer{class FPhysXDestructibleManager}

Modifiers: native

The "parent" manager

Overlaps[edit]

Type: array<PhysXDestructibleOverlap>

Modifiers: native, transient

Neighbor info for chunks at SupportDepth.

PassiveFractureChunks[edit]

Type: array<int>

Modifiers: native, transient


PerFrameProcessBudget[edit]

Type: int

Modifiers: native, transient, const


PseudoSupporterFifo[edit]

Type: array<int>

Modifiers: native, transient

Support algorithm

PseudoSupporterFifoStart[edit]

Type: int

Modifiers: native, transient


RouteUpdateArea[edit]

Type: array<int>

Modifiers: native, transient


RouteUpdateFifo[edit]

Type: array<int>

Modifiers: native, transient


RouteUpdateFifoStart[edit]

Type: int

Modifiers: native, transient


SupportDepth[edit]

Type: int

Modifiers: native, transient


Enums[edit]

EPhysXDestructibleChunkState[edit]

DCS_StaticRoot 
DCS_StaticChild 
DCS_DynamicRoot 
DCS_DynamicChild 
DCS_Hidden 

Structs[edit]

PhysXDestructibleChunk[edit]

Modifiers: native

bool WorldCentroidValid 
bool WorldMatrixValid 
bool bCrumble 
bool IsEnvironmentSupported 
bool IsRouting 
bool IsRouteValid 
bool IsRouteBlocker 
int ActorIndex 
int FragmentIndex 
int Index 
int MeshIndex 
int BoneIndex 
name BoneName 
int BodyIndex 
Object.Vector RelativeCentroid 
Object.Vector WorldCentroid 
Object.Matrix RelativeMatrix 
Object.Matrix WorldMatrix 
float Radius 
int ParentIndex 
int FirstChildIndex 
int NumChildren 
int Depth 
float Age 
float Damage 
float Size 
EPhysXDestructibleChunkState CurrentState 
pointer{class UPhysXDestructibleStructure} Structure 
int FIFOIndex 
int FirstOverlapIndex 
int NumOverlaps 
int ShortestRoute 
int NumSupporters 
int NumChildrenDup 

PhysXDestructibleOverlap[edit]

Modifiers: native

int ChunkIndex0 
int ChunkIndex1 
int Adjacent 

Native functions[edit]

CrumbleChunk[edit]

native function CrumbleChunk (int ChunkIndex)

Destroy chunk and initiate fluid emitter volume filling

DamageChunk[edit]

native function bool DamageChunk (int ChunkIndex, Object.Vector Point, float BaseDamage, float Radius, bool bFullDamage, float DamageFalloffExp, out array<intOutput)

Propagate damage calculation to chunk and all children. Returns an array of chunks that should be broken free

FractureChunk[edit]

native function FractureChunk (int ChunkIndex, Object.Vector point, Object.Vector impulse, bool bInheritRootVel)

Break chunk free, and make it dynamic

GetChunkCentroid[edit]

native function Object.Vector GetChunkCentroid (int ChunkIndex)

Return world centroid of chunk

GetChunkMatrix[edit]

native function Object.Matrix GetChunkMatrix (int ChunkIndex)

Return world matrix associated with chunk