简介

约束 (也称为连接器) 用于连接2个刚体。

The physics constraints are meant to be attached to an Empty object. The constraint then has fields which can be pointed at the two physics-enabled object which will be bound by the constraint. The empty object provides a location and axis for the constraint distinct from the two constrained objects. The location of the entity hosting the physics constraint marks a location and set of axes on each of the two constrained objects. These two anchor points are calculated at the beginning of the animation and their position and orientation remain fixed in the local coordinate system of the object for the duration of the animation. The objects can move far from the constraint object, but the constraint anchor moves with the object. If this feature seems limiting, consider using multiple objects with a non-physics Child of constraint and animate the relative location of the child.

连接

The quickest way to constrain two objects is to select both and click the Connect button in Object ‣ Rigid Body. This creates a new empty object (named “Constraint”) with a physics constraint already attached and pointing at the two selected objects.

物理菜单

Also you can create Rigid Body Constraint on one of the two constrained objects with Rigid Body Constraint button of the Physics tab in the Properties editor. This constraint is dependent on the object location and rotation on which it was created. This way, there are no empty object created for the constraint. The role of the empty object is put on this object. The constrained object can be then set as Passive type for better driving the constrain.

Additional parameters appear in the Rigid Body Constraint panel of the Physics tab in the Properties editor for the selected empty object or the one of the two constrained objects with the created constraint.

通用选项

刚体约束面板。

已开启

指定在模拟过程中约束是否处于活动状态。

禁用碰撞

允许受约束的物体相互传递。

物体 1

第一个被约束的物体。

物体 2

第二个被约束的物体。

可断

允许模拟过程中将约束断开。禁用 机动 约束。可以用来模拟破坏。

  • 阈值

    冲量阈值,约束断开时所需的临界值。

覆盖迭代

允许使约束比刚体世界环境中指定的更强 (更多迭代) 或更弱 (更少迭代) 。

  • 迭代

    此约束中约束解算器在每步模拟中的迭代次数。

限制

通过使用限制,您可以通过制定分别在一个轴上的平移/旋转范围来进一步约束物体(请参见下面的每个轴)。要锁定一个轴,请将两个限制都设为0。