class

MVehicleStatics

Module
Game
Header
#include "Game/MVehicleStatics.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Public functions

ReturnsNameDescription
floatGetEngineRPM
floatGetEngineRPMFraction
int32_tGetCurrentGear
floatGetVehicleSpeed
floatGetThrottle
boolSetManualGear
floatGetWheelSlip
int32_tGetWheelCountPer-wheel telemetry, refreshed every physics step.
floatGetWheelSlipRatio
floatGetWheelSlipAngleDegrees, positive when the tyre slides toward the wheel's right.
floatGetWheelLoadNewtons pressing the tyre onto the ground.
int32_tGetWheelSurfaceThe ESurfaceType value of what the wheel touches.
std::stringGetWheelSurfaceName
Vec3GetWheelContactPoint
boolIsWheelInContact
boolIsWheelABSActive
boolIsWheelTractionControlActive
floatGetVehicleCombinedSlipThe largest combined slip (ratio and angle folded together, 0..1) over all wheels.
boolSetABSEnabled
boolSetTractionControlEnabled
boolIsABSEnabled
boolIsTractionControlEnabled

Function details

GetEngineRPM

C++
float GetEngineRPM(AActor* vehicle) const

GetEngineRPMFraction

C++
float GetEngineRPMFraction(AActor* vehicle) const

GetCurrentGear

C++
int32_t GetCurrentGear(AActor* vehicle) const

GetVehicleSpeed

C++
float GetVehicleSpeed(AActor* vehicle) const

GetThrottle

C++
float GetThrottle(AActor* vehicle) const

SetManualGear

C++
bool SetManualGear(AActor* vehicle, int32_t gear)

GetWheelSlip

C++
float GetWheelSlip(AActor* vehicle, int32_t wheelIndex) const

GetWheelCount

C++
int32_t GetWheelCount(AActor* vehicle) const

Per-wheel telemetry, refreshed every physics step. Every getter answers 0 / false / "Default" for a missing vehicle, a missing wheel or a wheel in the air. Slip ratio: 0 rolling, negative braked or locked, positive spinning.

GetWheelSlipRatio

C++
float GetWheelSlipRatio(AActor* vehicle, int32_t wheelIndex) const

GetWheelSlipAngle

C++
float GetWheelSlipAngle(AActor* vehicle, int32_t wheelIndex) const

Degrees, positive when the tyre slides toward the wheel's right.

GetWheelLoad

C++
float GetWheelLoad(AActor* vehicle, int32_t wheelIndex) const

Newtons pressing the tyre onto the ground.

GetWheelSurface

C++
int32_t GetWheelSurface(AActor* vehicle, int32_t wheelIndex) const

The ESurfaceType value of what the wheel touches.

GetWheelSurfaceName

C++
std::string GetWheelSurfaceName(AActor* vehicle, int32_t wheelIndex) const

GetWheelContactPoint

C++
Vec3 GetWheelContactPoint(AActor* vehicle, int32_t wheelIndex) const

IsWheelInContact

C++
bool IsWheelInContact(AActor* vehicle, int32_t wheelIndex) const

IsWheelABSActive

C++
bool IsWheelABSActive(AActor* vehicle, int32_t wheelIndex) const

IsWheelTractionControlActive

C++
bool IsWheelTractionControlActive(AActor* vehicle, int32_t wheelIndex) const

GetVehicleCombinedSlip

C++
float GetVehicleCombinedSlip(AActor* vehicle) const

The largest combined slip (ratio and angle folded together, 0..1) over all wheels.

SetABSEnabled

C++
bool SetABSEnabled(AActor* vehicle, bool enabled)

SetTractionControlEnabled

C++
bool SetTractionControlEnabled(AActor* vehicle, bool enabled)

IsABSEnabled

C++
bool IsABSEnabled(AActor* vehicle) const

IsTractionControlEnabled

C++
bool IsTractionControlEnabled(AActor* vehicle) const
Generated from Game/MVehicleStatics.h via game.json · Dec 5, 2026Version 1.1.0