I'm a doctor, not a mechanic
UE3:FractureManager (UDK)
- Package:
- Engine
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Constants
FSM_DEFAULTRECYCLETIME
Value: 0.2
Properties
Property group 'FractureManager'
bEnableAntiVibration
Type: bool
If TRUE, look for vibrating FSM parts and kill them
bEnableSpawnChunkEffectForRadialDamage
Type: bool
If TRUE, spawn effect for chunks falling off when doing radial damage (ie removing many chunks at once)
DestroyMinAngVel
Type: float
Min angular velocity of part to be killed by vibration detection code.
Default value: 2.5
DestroyVibrationLevel
Type: float
How much vibration (defined as changes in angular velocity direction) must occur before part is killed.
Default value: 3.0
ExplosionVelScale
Type: float
Default value: 1.0
Internal variables
ActorsWithDeferredPartsToSpawn
Type: array<FracturedStaticMeshActor>
Modifiers: transient
List of actors that have fracture parts that have been deferred to spawn on upcoming frames
FreeParts
FSMPartPoolSize
Type: int
Default value: 50
PartPool
Type: array<FracturedStaticMeshPart>
Default values
Property | Value |
---|---|
CollisionType | COLLIDE_CustomDefault |
Functions
Native functions
CreateFSMParts
GetFSMDirectSpawnChanceScale
Returns a scalar to the percentage chance of a fractured static mesh spawning a rigid body after taking direct damage
GetFSMFractureCullDistanceScale
Returns a distance scale for whether a fractured static mesh should actually fracture when damaged
GetFSMPart
Grab a FSMP from the free pool, or forcibly recycle a suitable one from the world.
GetFSMRadialSpawnChanceScale
Returns a scalar to the percentage chance of a fractured static mesh spawning a rigid body after taking radial damage, such as from an explosion
GetNumFSMPartsScale
ResetPoolVisibility
Recycles any active parts
Events
Destroyed
Overrides: Actor.Destroyed
PreBeginPlay
Overrides: Actor.PreBeginPlay
ReturnPartActor
Return a part to the pool.
SpawnChunkDestroyEffect
Function use to spawn particle effect when a chunk is destroyed.
SpawnPartActor
Function to actually spawn a FSMP. Allows game-specific pooling/capping of actors.
Tick
Overrides: Actor.Tick
Called every frame to update the object
Other instance functions
CleanUpFSMParts
SpawnDeferredParts
Give any actors with deferred chunks a chance to spawn now