i wish i have the idea on how to make it myself but i dont know how to start it…
at least i get a simple speedometer with gear shifting show together with it.
its better if any1 can help me up to this kind of speedometer o.o
any1 can help me about correcting script? its about displaying current gear on runtime…
these are the variables…
var GearRatio : float[];
var CurrentGear : int = 0;
var myInt : int = 0;
var GUIgears : int = CurrentGear;
and this is the fn…
function Start () {
// I usually alter the center of mass to make the car more stable. I'ts less likely to flip this way.
rigidbody.centerOfMass.y = -1.5;
}
function Update ()
int myInt = 0;
GUILayout.Label(myInt.ToString());
print(GUIgears);