Make an object's rotate by comparing it to a parameter

Hey everyone,

I’m trying to make a simple analog speedometer.
I took the car’s magnitude and tried to store that magnitude into the speedometer’s pointer Y axis so what will happen is that when the car’s magnitude is, say, 20, the pointer will point at 20 degrees.

The thing is, I can’t do it…

any ideas?

Use this: