Measure
Intro
Measure the distance between two Shapes.
UI
First Target - Connect a Shape.
Second Target - Connect a second Shape.
Distance [read only] - The resulting distance between First Target and Second Target.
Example
- Create three Basic Shapes
- Create a Measure.
- Connect basicShape1→measure.firstTarget.
- Connect basicShape2→measure.secondTarget.
- Connect measure.id→basicShape3.position.y.
As Basic Shape 1 and Basic Shape 2 move, Basic Shape 3 moves up and down.
info
Distance can also be used to calculate the distance between two Shapes/transforms and it's drive either of the Input Shape's transforms. This is not possible using Measure as it would cause a cycle.