Until now, the vehicle has only been able to move straight forward along the road. We need it to be able to move left and right to avoid the obstacles.
Currently, we can only control the vehicle’s left and right movement in the inspector. We need to grant some power to the player and allow them to control that movement for themselves.
We’ve allowed the player to control the steering wheel, but we also want them to control the gas pedal and brake
There’s something weird about the vehicle’s movement… it’s slides left to right instead of turning. Let’s allow the vehicle to turn like a real car!
We added lots of new stuff in this lesson. Before moving on and to be more professional, we need to clean our scripts and hierarchy to make them more organized.