Remap |
||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
File:Instructions-Remap.png
|
||||||||||||||||||||||||||||||||||||||||||
Remaps a value between two ranges
|
Description[edit | edit source]
Changes value, based on input low & input high, to a relative number between target low and target high.
Clicking on these registers does not allow you to input a negative number into any of the registers. However, you may use negative values stored in registers, parameters, or variables and it will work. For example, I was able to input 1, 0, 10, 0, -10 and got the output -1, using a variable set to -10 with 'set number'.
Unfortunately, remap does not work with coordinates, only values. However, you can use 'separate coordinate' and 'combine coordinate' to extract, recombine coordinate pairs for movement targets. This is especially sad since 'map' is in the name.
Uses[edit | edit source]
Similar Instructions[edit | edit source]
Instructions | |
---|---|
Unit | |
Move | |
Component | |
Flow | |
Math | |
Global |