Hi!
I need some advice with Wheel colliders, Im making an arcade tank game but the tanks takes forever to reach speed and then it keeps gaining speed for too long, also the tanks roll down hill I think this is because my wheel colliders dont have enough friction, I want the tanks to be arcadeish so what do you recommend to fix these problems?
Here is a picture of the values im using:
This is what I use to move the tank:
float MotorForce = Mathf.Clamp (Time.deltaTime* Speed,Speed*0.9f,Speed);
if (Input.GetButton("Throttle")){
wheels[3].motorTorque = MotorForce;
wheels[2].motorTorque = MotorForce;
}
if (!Input.GetButton("Throttle")) {
wheels[3].motorTorque = 0;
wheels[2].motorTorque = 0;
}
if (Input.GetButton("Brake")){
wheels[3].brakeTorque = 30;
wheels[2].brakeTorque = 30;
}
if (!Input.GetButton("Brake")) {
wheels[3].brakeTorque = 0;
wheels[2].brakeTorque = 0;
}