x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Create a speedometer umg

How create a speedometer in umg using blueprints. It no possible use scaleform in ue4

Product Version: UE 4.9
Tags:
more ▼

asked Sep 04 '15 at 02:41 PM in Using UE4

avatar image

olegfresi
52 29 45 58

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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 alt text

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 alt text

Then the function to GetNormalizedVelocity looks like this http://i.imgur.com/9pjYWCN.png alt text

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 alt text

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.

more ▼

answered Sep 04 '15 at 03:13 PM

avatar image

Nsomnia
1.8k 67 27 137

avatar image Nsomnia Sep 04 '15 at 03:31 PM

There we go, one speedo for you :)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question