Limit Scale Constraint 限定缩放约束

一个物体或骨骼可以沿着X、Y和Z轴进行缩放。这个约束通过下限和上限限制了允许沿每个轴的缩放量。

Important

This constraint does not tolerate negative scale values (those you might use to mirror an object...): when you add it to an object or bone, even if no axis limit is enabled, nor the For Transform button, as soon as you scale your object, all negative scale values are instantaneously inverted to positive ones... And the boundary settings can only take strictly positive values.

值得注意的是,尽管约束限制了其视觉和渲染位置,约束对象的数据块仍然允许(默认)对象或骨骼的缩放超出最小和最大值确定的范围(只要是正值),其缩放值可以在 变换 面板中看到。当缩放物体,并试图超出限定边界,视觉上以及渲染时,物体仍然被限定在边界内,但在内部,其缩放仍会变化为超出限制。如果约束被移除,约束对象将跳转到其内部指定的缩放大小。

Similarly, if its owner has an internal scale that is beyond the limits, scaling it back into the limit area will appear to do nothing until the internal scale values are back within the limit threshold (unless you enabled the For Transform option, see below, or your owner has some negative scale values).

为某个轴向设置相等的最小值和最大值,可以锁定约束对象在该轴向的缩放... 尽管这样是可以的,但使用 变换属性 的轴向锁定功能可能更简单。

选项

../../../_images/animation_constraints_transform_limit-scale_panel.png

限定缩放面板。

X, Y, Z 最小值/最大值

这几个复选框分别用于启用约束对象在选定 空间(Space) 的X, Y, Z轴向的缩放限制。下方的数值框分别用于控制其上下限。

Note

如果最小值大于最大值,约束的效果等同于上下限相等。

影响变换

正如前面指出的默认情况下,即使在视觉上受到约束,除了负值之外,所有者仍然可以有超出范围的刻度(如 变换 面板所示)。当你启用这个复选框时,这就不再可能了,所有者的变换属性也会受到约束的限制。然而,请注意,该约束并不直接修改缩放值:你必须以某种方式缩放其所有者,这才会生效。

Owner Space

这个约束允许你选择在哪个空间评估其所有者的变换属性。更多信息请参见 常见的约束属性

影响

控制约束对对象的影响百分比。有关详细信息,请参阅 通用约束属性

例子