75 if (!
IsValid(Actor))
return false;
80 auto VehiclePhysicsControl =
Vehicle->GetVehiclePhysicsControl();
83 VehiclePhysicsControl.SteeringCurve.Reset();
84 VehiclePhysicsControl.SteeringCurve.AddKey(0.f, 1.f);
85 VehiclePhysicsControl.SteeringCurve.AddKey(120.f, 1.f);
87 Vehicle->ApplyVehiclePhysicsControl(VehiclePhysicsControl);
88 UE_LOG(LogCarla, Log, TEXT(
"Resetting SteeringCurve!"));