Skip to content
CRUSHFORMV1.1.0
GET IT ON FAB

REFERENCESUBSYSTEMS AND LIBRARIES

UCFImpactBreakableHost

MODULECrushformImpactINCLUDECFImpactBreakableHost.hPARENTUWorldSubsystem

Registers itself as the host of the world's debris pool and maps the core's feedback to impact events: the tag is the one the definition names (UCFBreakableDefinition::GetFeedbackTag), and where it names none the plugin's tag for the event (CFImpactTags: Glass.* for a UCFGlassDefinition, Prop.* for anything else). Never created on a dedicated server, like the pool and the impact feedback, nor when bUseDefaultBreakableHost is off: a game with a host of its own registers it with the pool itself.

Functions

AUTHORITY · server, every machineLOCAL · this machinePURE · read only
UCFImpactBreakableHost* Get(const UObject* WorldContext)
C++ ONLY

The default breakable host of WorldContext's world; nullptr when the world has none.

FGameplayTag ResolveFeedbackTag(const UCFBreakableDefinition* Definition, ECFBreakableFeedbackKind Kind) const
PUREC++ ONLY

The tag a feedback of Kind for Definition plays: the plugin's tree tag for a tree kind, else the definition's own, else the plugin's (CFImpactTags). Empty for no definition and for the crack of a definition that is not glass.