Add support for editing WheeledVehicle wheels config at runtime without full physics state rebuild

#1324
This commit is contained in:
Wojtek Figat
2023-09-01 12:40:51 +02:00
parent a8cc4d7fcb
commit b0ec8525aa
4 changed files with 77 additions and 0 deletions

View File

@@ -245,6 +245,7 @@ public:
// Vehicles
static void* CreateVehicle(class WheeledVehicle* actor);
static void DestroyVehicle(void* vehicle, int32 driveType);
static void UpdateVehicleWheels(WheeledVehicle* actor);
static void SetVehicleGearbox(void* vehicle, const void* value);
static int32 GetVehicleTargetGear(void* vehicle);
static void SetVehicleTargetGear(void* vehicle, int32 value);