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
| Type | Name | Description |
|---|---|---|
Vec3 | position | Default Vec3(0.0f, -0.2f, 0.0f). |
float | radius | Default 0.35f. |
float | width | Default 0.25f. |
bool | steering | Default false. |
bool | driven | Default false. |
bool | handbrake | Default false. |
float | maxSteerDegrees | Default 30.0f. |
float | suspensionMinLength | Default 0.3f. |
float | suspensionMaxLength | Default 0.5f. |
float | suspensionFrequency | Default 1.5f. |
float | suspensionDamping | Default 0.5f. |
float | maxBrakeTorque | Default 1500.0f. |
float | maxHandBrakeTorque | Default 4000.0f. |
float | frictionScale | Scales the vehicle's tyre curves for this wheel — a worn rear, a studded front. Default 1.0f. |
int32_t | visualChildIndex | Default -1. |
Generated from Physics/Components/VehicleComponent.h via physics.json · Nov 4, 2026Version 1.0.0