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 slider range, min -1, max +1?

Pretty much what the title says. How can I get a UMG slider to return values of min -1 and max +1? I would think it can be done with math but I'm not all that good at it. Any help is appreciated.

Product Version: UE 4.16
more ▼

asked Jan 18 '18 at 10:04 PM in Blueprint Scripting

avatar image

40 8 18 23

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

1 answer: sort voted first

Luckily for you the engine can crunch the numbers just fine:

alt text

The Map Range node translates the slider's 0-1 into whatever range you punch in into the specified Out Range.

capture.png (30.3 kB)
more ▼

answered Jan 19 '18 at 08:45 AM

avatar image

15.2k 77 25 62

avatar image Brylos Jan 19 '18 at 06:37 PM

Wow that is awesome. Thanks for your help!

(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