简介

Constraints (also known as joints) for rigid bodies connect two rigid bodies. 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. 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 be set as a Passive type for better driving of the constraint.

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

通用选项

Reference

Panel

Physics ‣ Rigid Body Constraint

Settings

已开启

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

禁用碰撞

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

可断

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

阈值

Impulse strength that needs to be reached before the constraint breaks.

限制

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

Objects

First

第一个被约束的物体。

Second

第二个被约束的物体。

覆盖迭代

Allows making constraints stronger (more iterations) or weaker (less iterations) than specified in the rigid body world.

迭代

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