REFERENCESTRUCTS AND ENUMS
FCFWheelContact
One wheel, on the ground or not, as the host sees it this frame.
Functions
The speed the rolling sound and FX follow: RollingSpeed when it is set, else |SurfaceSpeed|.
Properties
Where the tyre touches the ground, world space, cm.
- Default
- FVector::ZeroVector
- Category
- Crushform
Wheel radius, cm.
- Default
- 0.0f
- Category
- Crushform
Speed of the tyre's surface, m/s, positive when it rolls the body forward (+X of the root). A wheel spinning in place has one too.
- Default
- 0.0f
- Category
- Crushform
The ground under the wheel; null takes the default rates.
- Category
- Crushform
Which wheel this is, the same for the host's lifetime: small, dense and from 0 (the component keeps the last surface of each in an array by it). INDEX_NONE for a host that does not name its wheels: the contact still dirties the body, but it is never reported by UCFDeformComponent::OnWheelSurfaceChanged.
- Default
- INDEX_NONE
- Category
- Crushform
False while the wheel is in the air: it leaves no dirt, and its Point and PhysicalMaterial are not read.
- Default
- true
- Category
- Crushform
False while grounded but this frame's surface read is torn: the rolling sound and FX keep what they had.
- Default
- true
- Category
- Crushform
Speed the rolling sound and FX follow, m/s; below 0 means |SurfaceSpeed|.
- Default
- -1.0f
- Category
- Crushform
Speed the wheel's hub moves over the ground, m/s; below 0 means the owner's velocity. The rolling FX reads it (a locked wheel sliding still throws dirt); a host that knows the shown speed of a replicated body gives that one.
- Default
- -1.0f
- Category
- Crushform
0..1, how hard this wheel brakes: raises the rolling FX.
- Default
- 0.0f
- Category
- Crushform
Where this wheel's sound sits; null: at Point.
- Category
- Crushform
Socket on AttachTo for this wheel's sound; None: the component's origin.
- Category
- Crushform