struct

FVehicleWheelSetup

One authored wheel. A vehicle carries any number of these — a six-wheel truck, a three-wheel trike, a rover — and each says where it sits, what it does and how its suspension and tyre behave. visualChildIndex names the child entity whose transform the system writes every tick, so a wheel mesh turns, steers and compresses with the simulation instead of staying welded to the chassis. The index counts along the chassis' firstChild/ nextSibling chain (what HierarchyHelpers::GetChildren returns and the Outliner shows with sorting off); SetParent links new children at the front, so that is the reverse of the order they were added.

Module
Physics
Header
#include "Physics/Components/VehicleComponent.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Properties

TypeNameDescription
Vec3positionDefault Vec3(0.0f, -0.2f, 0.0f).
floatradiusDefault 0.35f.
floatwidthDefault 0.25f.
boolsteeringDefault false.
booldrivenDefault false.
boolhandbrakeDefault false.
floatmaxSteerDegreesDefault 30.0f.
floatsuspensionMinLengthDefault 0.3f.
floatsuspensionMaxLengthDefault 0.5f.
floatsuspensionFrequencyDefault 1.5f.
floatsuspensionDampingDefault 0.5f.
floatmaxBrakeTorqueDefault 1500.0f.
floatmaxHandBrakeTorqueDefault 4000.0f.
floatfrictionScaleScales the vehicle's tyre curves for this wheel — a worn rear, a studded front. Default 1.0f.
int32_tvisualChildIndexDefault -1.
Generated from Physics/Components/VehicleComponent.h via physics.json · Nov 4, 2026Version 1.0.0