How create a speedometer in umg using blueprints. It no possible use scaleform in ue4
First you need your widget to have a needle image note the pivot settings this is important. RenderAngle(degrees) is how we are going to spin it about its pivot(x,y)
[http://i.imgur.com/30nT3Lz.png][1]
http://i.imgur.com/30nT3Lz.png
Next you need your event graph like this, the math on the top can be tweaked according to your needs (how fast you want it to update etc)
[http://i.imgur.com/4BpheMu.png][3]
http://i.imgur.com/4BpheMu.png
Then the function to GetNormalizedVelocity looks like this
[http://i.imgur.com/9pjYWCN.png][5]
http://i.imgur.com/9pjYWCN.png
Lastly the function GetVelocity like this, of course adapting it to whatever you want to get the velocity of
[http://i.imgur.com/wZUUxma.png][7]
http://i.imgur.com/wZUUxma.png
And if you want the velocity text (x m/s) you take GetVelocitys output and divide it by 100 then output it and bind your speed text number to that to get the proper value
Ive used this for speedos, noise meters, all sorts of things. Note -180 render angle is 0 on the meter and 0 is full. 90 is pointing straight down, -90 straight up, -179 is almost all the way backwards.
Don’t forget to accept an answer that best clears your question up or answers it so when the community finds your question in the future via search/google they know exactly what you did to fix it/get it going.
There we go, one speedo for you