There are times where you want to establish a link between two objects, but their input and output don't exactly match up perfectly. The values you want to use as input may be very small, but if they were magnified and reapplied somehow, they would be perfect. We can use a Range Mapper node to take a value input, and adjust it to fit within a different range of output. In this example, we take the Y position value of one object and translate its movement to affect the rotation of a different object, creating a gauge that pivots and displays our Y position value.
Our project contains two main objects to start: a gauge and a cube. The cube will be programmed to move up and down in a sine wave pattern, and the gauge will swing back and forth measuring its Y position with the needle, all with the help of XPresso.
Start by creating a new Null object and renaming...