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"

Animating numbers on a cluster in widget editor

I am using the Widget Editor for the first time to create cluster graphics for an automotive display. See attached, currently when i activate the animation the needle starts to rev. I would like to animate the text box '00' to correlate with the needle but I am not sure how to go about it. Any suggestions from the community?

These graphics are just animations and are not attached to an 3D actors. I plan on rendering out a video for the final product.

alt text

Product Version: UE 4.21
capture.jpg (26.6 kB)
more ▼

asked Jan 10 '19 at 07:18 PM in Using UE4

avatar image

1 1 1

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

1 answer: sort voted first

Make the numbers a text box, then you will be able to set the text dynamically to the speed the needle is showing.

more ▼

answered Jan 10 '19 at 07:27 PM

avatar image

Nebula Games Inc
5.4k 28 9 15

avatar image daily_walrus Jan 10 '19 at 07:34 PM

I need to animate it. It's already a text box, how do I get the variables to increase with the needle?

avatar image Nebula Games Inc Jan 10 '19 at 07:48 PM

Ah, when you say "animate" I think more moving around, fade in out etc. What you need to do is script the logic to change the text box. You need something like I have below. This is script that takes a saved slot name and sets the text within a text box. What you will have to do is get the value of the needle (or whatever determines how far around the needle goes) and set the text to that so they will match.

alt text

set-text.jpg (39.7 kB)
avatar image daily_walrus Jan 11 '19 at 12:22 PM

I appreciate your help, but I am a beginner and Im not sure of what steps to take to get what I need.

avatar image Nebula Games Inc Jan 11 '19 at 03:14 PM

Here is a tutorial I made a while back for creating a timer using a text box. I change the value based on a timeline that updates the text, in your case you would swap the timeline out for whatever variable is determining how high the needle goes.


I also have an entire beginner series that goes over the most important concepts for creating games you may be interested in some of those videos at a later date :)


(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