Skip to content
CRUSHFORMV1.1.0
GET IT ON FAB

REFERENCESTRUCTS AND ENUMS

FCFTireWheelDesc

MODULECrushformTireINCLUDECFTireHost.h

One wheel a host reports: the mesh the tyre is drawn with, and how far from the ground the host holds its hub.

Properties

TObjectPtr<UMeshComponent> Mesh = nullptr

The wheel's own mesh, static or skeletal; null for a wheel with none, whose tyre stays round.

Default
nullptr
Category
Crushform
float PhysicsRadius = 0.f

Distance the host keeps the hub from the ground, cm; zero or less means the tyre's own radius.

Default
0.f
Category
Crushform
int32 HostIndex = INDEX_NONE

The index the component passes back to the host for this wheel.

Default
INDEX_NONE
Category
Crushform
float VisualOffset = 0.f

The wheel mesh's vertical visual offset now, cm, +up: the component remembers the first one it reads and restores it.

Default
0.f
Category
Crushform
bool bAcceptsPush = false

Whether the host moves this wheel's mesh by FCFTireWheelOffset::PushCm. Set it only when SetCrushformTireWheelOffsets applies PushCm, in the owner actor's space, in the same call, and the mesh keeps carrying exactly that push until the next call: the tyre measures its contacts from where the wheel would be without the push, so a push the host ignores makes the push run up to MaxPush, and one that goes stale because something else moves the mesh or turns its parent against the owner puts the dent off its place.

Default
false
Category
Crushform