Hello. We want dynamic change Vehicles Wheels shape radius wite out update. We know this function GetVehicleMovement()->RecreatePhysicsState();
but needs wite out update. Thank you in advance
void AADVWheeledVehicle::SetShapeRadius(float shape_radius)
{
for (auto &x : GetVehicleMovement()->WheelSetups)
{
Cast<UVehicleWheel>(x.WheelClass->GetDefaultObject())->ShapeRadius = shape_radius;
}
GetVehicleMovement()->RecreatePhysicsState();
}