From 726c73785023813d8e70fc1094d0b55980f8b0cc Mon Sep 17 00:00:00 2001 From: tomo0613 Date: Sun, 7 Jun 2026 21:20:23 +0200 Subject: [PATCH] fix wheel impulse scaling --- src/control/ray_cast_vehicle_controller.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/control/ray_cast_vehicle_controller.rs b/src/control/ray_cast_vehicle_controller.rs index 1822e3167..72769b11a 100644 --- a/src/control/ray_cast_vehicle_controller.rs +++ b/src/control/ray_cast_vehicle_controller.rs @@ -659,7 +659,7 @@ impl DynamicRayCastVehicleController { if sliding { for wheel in &mut self.wheels { - if wheel.side_impulse != 0.0 && wheel.skid_info < 1.0 { + if wheel.skid_info < 1.0 { wheel.forward_impulse *= wheel.skid_info; wheel.side_impulse *= wheel.skid_info; }