28 float wheelsEfficiency;
29 SCR_WheelHitZone wheelHitZone;
33 wheelHitZone = SCR_WheelHitZone.Cast(hitZone);
34 if (!wheelHitZone || wheelHitZone.GetWheelIndex() < 0)
38 wheelsEfficiency += wheelHitZone.GetEfficiency();
44 super.UpdateVehicleState();
57 if (!
float.AlmostEqual(movementDamage, GetMovementDamage()))
58 SetMovementDamage(movementDamage);
60 VehicleControllerComponent controller = VehicleControllerComponent.Cast(
m_Controller);
62 controller.SetCanMove(movementDamage < 1);