Skip to content
CRUSHFORMV1.1.0
GET IT ON FAB

REFERENCEINTERFACES

ICFBreakerHost

MODULECrushformINCLUDECFBreakerHost.h

Optional policy of an actor that breaks breakable units with a UCFPropContactComponent. Without it the authority simulates the body, the owner's root primitive breaks the units, reports go through the owner's own component and the body is never dented. Every default answers Default or nullptr, which is that hostless behaviour, so a Blueprint that leaves an event unimplemented behaves as if it had no host.

Functions

AUTHORITY · server, every machineLOCAL · this machinePURE · read only
ECFHostAnswer IsBreakerSimulatedHere() const
PURE

Whether this machine is the one that simulates the owner's body. Default: the authority.

Category
Crushform
UPrimitiveComponent* GetBreakerBody() const
PURE

The body whose contacts break units; nullptr = the owner's root primitive. The contact component asks it when it begins play (the body it registers as a contact body) and when it judges a report from this actor.

Category
Crushform
UCFPropContactComponent* GetBreakReportRoute() const
PURE

The contact component whose connection carries this owner's break reports to the server; nullptr = the owner's own.

Category
Crushform
UCFDeformComponent* GetBreakerDeform() const
PURE

The deform component that a broken unit dents; nullptr = none, so the body is never dented.

Category
Crushform