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"

(UMG) 'Step Size' in Sliders is broken..

  1. New Project

  2. New Widget Bp

  3. Slider & modify Step Size to 0.1 or sth

  4. Add widget to viewport & Play

  5. Notice how the Step Size has absolutely 0 effect & if you print the output of the Slider OnValueChanged it always prints 0.000001 values..

Product Version: UE 4.17
more ▼

asked Nov 04 '17 at 09:59 AM in Bug Reports

avatar image

16 2 4 9

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

1 answer: sort voted first

If you read the tooltip of StepSize you'll notice it only works with keyboard/controller - you're probably using mouse for this atm. StepSize allows you to use it as a variable for calculating new slider position when keyboard has the focus.

You'd need to write a bit of logic to have the mouse skip to the next value.

Besides, seeing 0.000001... is a standard float rounding error. See here for the best explanation ever in case you're unfamiliar with the concept.

Hope it helps.

more ▼

answered Nov 04 '17 at 11:39 AM

avatar image

15.3k 77 26 64

avatar image SlimeQ Nov 08 '17 at 05:25 PM

For anybody looking into this in the future, this solved the problem for me:

alt text

slidersnap.png (47.0 kB)
avatar image Everynone Nov 08 '17 at 05:28 PM

Clever. Thanks for sharing!

avatar image HemaPrince Jan 04 '19 at 04:54 PM

this is brilliant. thanks for sharing

avatar image r.leshchenko Jan 24 '19 at 05:33 PM

Have you tried to just tick bMouseUsesStep?

(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