Proximity
True while two things are within a radius of each other — a distance sensor with the threshold built in.
Output: boolean (card shows near / far live)
Inputs
| Handle | Type | Meaning |
|---|---|---|
| a | object | first point — an Object Selector or a Vector3 world point |
| b | object | second point — same options |
Parameters
| Parameter | Default | Where |
|---|---|---|
| radius | 3 | number field on the card |
Practical example
An automatic porch light:
- Add two Object Selectors — one picking your "visitor" cube, one picking the doormat object — and wire them into Proximity's a and b.
- Set radius to 2.
- Wire Proximity → a Visibility node's on input, and Visibility → an Object Selector targeting the glowing lamp object.
- Drag the cube toward the doormat: the lamp appears at 2 units and vanishes when the cube leaves.
Tip
Combine two Proximity nodes with a Gate for and/or conditions, or invert one with Gate not.