
The Distance Constraint establishes a specific physical distance relationship between two objects. It can be used to set a maximum, minimum, or exact distance, allowing objects to be dragged or pushed based on these spatial boundaries.
- Interactive Physics: The Distance Constraint is ideal for simulating physical boundaries without complex coding, such as keeping a UI handle within its track.
- Guide Visibility: The red circular guide is only an editor aid and will not appear in your final exported Rive file.
- Target Dynamics: When the target moves, the constrained object will be "dragged" or "pushed" to maintain the rules of the selected mode.