Skip to content
CRUSHFORMV1.1.0
GET IT ON FAB

REFERENCEINTERFACES

ICFTireHost

MODULECrushformTireINCLUDECFTireHost.h

Implemented by the actor that carries a UCFTireComponent, or by a component the game registers for it. The host keeps no tyre state: the component remembers what it needs, and gives back every offset it changed when it goes away. Every default answers nothing (no wheels, no force model, no rig), which is the hostless behaviour, so a Blueprint that leaves an event untouched behaves as having no host. The gather events fill the array the caller hands in, which is empty.

Functions

AUTHORITY · server, every machineLOCAL · this machinePURE · read only
void GatherCrushformTireWheels(TArray<FCFTireWheelDesc>& OutWheels) const
PURE

The wheels in a stable order; may be empty until the wheel meshes exist, so the component asks again on later passes.

Category
Crushform
void SetCrushformTireWheelOffsets(const TArray<FCFTireWheelOffset>& Offsets)

What one operation (resolve, grant, load update, end) changed, one call.

Category
Crushform
void GatherCrushformTireLoadRatios(TArray<float>& OutRatios) const
PURE

Contact force over nominal load by HostIndex; empty = no force model here; an entry below 0 or past the end = unknown for that wheel. Either way that wheel's load factor holds 1.

Category
Crushform
void GatherCrushformTireRig(TArray<AActor*>& OutRig) const
PURE

Every actor coupled with this one, itself included; empty means just this actor.

Category
Crushform