The motorTorque requires type float yet all my variables are of type double. I get the following error message starting at the code I provided below:
error CS0266: Cannot implicitly convert type `double' to `float'. An explicit conversion exists (are you missing a cast?)
ColliderBR.motorTorque = (float)ENGINE_POWER*motor;
ColliderBL.motorTorque = (float)ENGINE_POWER*motor;
//brake power to wheel brake
ColliderBR.motorTorque = (float)BRAKE_POWER*brake;
ColliderBL.motorTorque = (float)BRAKE_POWER*brake;
//steering wheel to steer the wheel
ColliderFL.steerAngle = (float)steer*MAX_STEER*steer_factor*Time.deltaTime*STEER_TIME;
ColliderFR.steerAngle = (float)steer*MAX_STEER*steer_factor*Time.deltaTime*STEER_TIME;