Anyone can teach me how to get speedometer in car game?

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

Uploaded with ImageShack.us

but the basic idea is enough…just to learn on how the scripting is done.

Uploaded with ImageShack.us

i would really appreciate a lot whoever feel free to help me :slight_smile:

Kay88,

Message me and I’ll try and help you!

your images didn’t work

yah…how you know that? im trying to post it back

work now, but beyond me to help you, that is much harder one than the standard

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);

I dont know how it works but Andeeee already created one of these a while back… :wink:

http://forum.unity3d.com/threads/63885-Car-speedometer-dial?highlight=speedometer