I am creating a racing game that features a pit lane. I want the cars to vary in speed depending on their current health and fuel.
The Pit lane needs to have an explicit barrier that asks the players to stop and refresh the car.
Right now, I have a Sports Car and speed modulator right at the start line. I want to affect the speed (maximum speed) of the car depending on its health and fuel. Secondly, some guidance about creating a pit-stop barrier would be helpful too.