basically UE 5.1 uses enhanced input component by default so you will have to set it by either converting to normal input or map your enhanced input for both character and car.