class

VehicleSystem

Module
Physics
Header
#include "Physics/VehicleSystem.h"
Namespace
Mowo

Constructors

SignatureNameDescription
VehicleSystem()VehicleSystem
~VehicleSystem() override~VehicleSystem
VehicleSystem(const VehicleSystem&) = deleteVehicleSystem

Public functions

ReturnsNameDescription
VehicleSystem&operator=
voidInitialize
voidShutdown
voidUpdate
voidResolveWheelLayoutThe wheels a component simulates: its authored list, or the legacy four-wheel layout synthesized from the scalar fields when the list is empty.
std::vector<std::pair<int32_t, int32_t>>PairDrivenWheelsDriven wheels paired into differentials: wheels on one axle (same z within a tolerance) pair left/right, a lone driven wheel gets a one-sided differential.

Function details

VehicleSystem

C++
VehicleSystem()

~VehicleSystem

C++
~VehicleSystem() override

VehicleSystem

C++
VehicleSystem(const VehicleSystem&) = delete

operator=

C++
VehicleSystem& operator=(const VehicleSystem&) = delete

Initialize

C++
void Initialize(World* world) override

Shutdown

C++
void Shutdown() override

Update

C++
void Update(float deltaTime) override

ResolveWheelLayout

C++
static void ResolveWheelLayout(const VehicleComponent& vc, std::vector<FVehicleWheelSetup>& out)

The wheels a component simulates: its authored list, or the legacy four-wheel layout synthesized from the scalar fields when the list is empty. Pure, so the layout contract is pinnable without Jolt.

PairDrivenWheels

C++
static std::vector<std::pair<int32_t, int32_t>> PairDrivenWheels(const std::vector<FVehicleWheelSetup>& wheels)

Driven wheels paired into differentials: wheels on one axle (same z within a tolerance) pair left/right, a lone driven wheel gets a one-sided differential. Jolt takes -1 for the missing side.

Generated from Physics/VehicleSystem.h via physics.json · Nov 4, 2026Version 1.0.0