5.8
Scale Constraint
2m 34sπ Key Points
Follow scale properties between objects.
π TutorialAvailable
Summary
The Scale Constraint operates similarly to the translation constraint but focuses on synchronizing the scale properties of one object with a target. This lesson covers setting targets, defining axis-specific copying, setting percentage-based limits (min/max), and the behavior of constraints when duplicating objects.
Step by Step
-
00:20
Adding the ConstraintSelect the object you wish to constrain, navigate to the Constraints section in the Inspector, and add a Scale Constraint.
-
00:36
Assigning the TargetOpen the constraint settings and select the object that will drive the scaling behavior.
-
00:57
Adjusting Strength and OffsetUse the Strength slider to control the influence (animatable) and toggle Offset if you want to maintain the current relative scale differences.
-
01:19
Axis ControlToggle the checkboxes to choose whether to copy the X axis, Y axis, or both.
-
01:27
Setting Scale LimitsDefine Minimum and Maximum values (represented as decimals, e.g., 0.5 for 50%) to restrict the scaling range.
-
02:03
Duplicating ConstraintsWhen you duplicate a "constraint owner," Rive automatically duplicates the constraint as well, linking both new objects to the same original target.
Notes About Current Rive
- Decimal Representation: Scale values are treated as decimals in the constraint settings (1.0 = 100%).
- Reference Space: You can change the reference space used for calculations, which is useful when working with nested groups or complex hierarchies.
- Synchronization: Scale constraints are ideal for maintaining proportional relationships between multiple UI elements or character features without manual keyframing.
π Notes
Markdown supported
0 chars
