class
MVehicleStatics
- Module
- Game
- Header
#include "Game/MVehicleStatics.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Public functions
| Returns | Name | Description |
|---|---|---|
float | GetEngineRPM | |
float | GetEngineRPMFraction | |
int32_t | GetCurrentGear | |
float | GetVehicleSpeed | |
float | GetThrottle | |
bool | SetManualGear | |
float | GetWheelSlip | |
int32_t | GetWheelCount | Per-wheel telemetry, refreshed every physics step. |
float | GetWheelSlipRatio | |
float | GetWheelSlipAngle | Degrees, positive when the tyre slides toward the wheel's right. |
float | GetWheelLoad | Newtons pressing the tyre onto the ground. |
int32_t | GetWheelSurface | The ESurfaceType value of what the wheel touches. |
std::string | GetWheelSurfaceName | |
Vec3 | GetWheelContactPoint | |
bool | IsWheelInContact | |
bool | IsWheelABSActive | |
bool | IsWheelTractionControlActive | |
float | GetVehicleCombinedSlip | The largest combined slip (ratio and angle folded together, 0..1) over all wheels. |
bool | SetABSEnabled | |
bool | SetTractionControlEnabled | |
bool | IsABSEnabled | |
bool | IsTractionControlEnabled |
Function details
GetEngineRPM
C++
float GetEngineRPM(AActor* vehicle) constGetEngineRPMFraction
C++
float GetEngineRPMFraction(AActor* vehicle) constGetCurrentGear
C++
int32_t GetCurrentGear(AActor* vehicle) constGetVehicleSpeed
C++
float GetVehicleSpeed(AActor* vehicle) constGetThrottle
C++
float GetThrottle(AActor* vehicle) constSetManualGear
C++
bool SetManualGear(AActor* vehicle, int32_t gear)GetWheelSlip
C++
float GetWheelSlip(AActor* vehicle, int32_t wheelIndex) constGetWheelCount
C++
int32_t GetWheelCount(AActor* vehicle) constPer-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) constGetWheelSlipAngle
C++
float GetWheelSlipAngle(AActor* vehicle, int32_t wheelIndex) constDegrees, positive when the tyre slides toward the wheel's right.
GetWheelLoad
C++
float GetWheelLoad(AActor* vehicle, int32_t wheelIndex) constNewtons pressing the tyre onto the ground.
GetWheelSurface
C++
int32_t GetWheelSurface(AActor* vehicle, int32_t wheelIndex) constThe ESurfaceType value of what the wheel touches.
GetWheelSurfaceName
C++
std::string GetWheelSurfaceName(AActor* vehicle, int32_t wheelIndex) constGetWheelContactPoint
C++
Vec3 GetWheelContactPoint(AActor* vehicle, int32_t wheelIndex) constIsWheelInContact
C++
bool IsWheelInContact(AActor* vehicle, int32_t wheelIndex) constIsWheelABSActive
C++
bool IsWheelABSActive(AActor* vehicle, int32_t wheelIndex) constIsWheelTractionControlActive
C++
bool IsWheelTractionControlActive(AActor* vehicle, int32_t wheelIndex) constGetVehicleCombinedSlip
C++
float GetVehicleCombinedSlip(AActor* vehicle) constThe 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) constIsTractionControlEnabled
C++
bool IsTractionControlEnabled(AActor* vehicle) constGenerated from Game/MVehicleStatics.h via game.json · Dec 5, 2026Version 1.1.0