物理引擎包括以下 Constraints 作为概念机械连接,包括铰链、弹簧、绳索等。 还有各种 mover 约束 可用于对 组合 施加方向或旋转力。
限制视图
要准确从 Studio 中视зуали化限制,您可以使用 模型 选项卡中的以下选项:


显示焊接 — 显示 WeldConstraints ,与其他约束的视图分开。

限制细节详情 — 显示非焊接限制的完整视觉细节。
>
缩放 — 视觉化的相对缩放。
创建限制
所有机械限制必须连接一个或两个 Attachments 或 Bones ,除了 WeldConstraint 和 1>NoCollisionConstraint1> 之外。 当连接到 4> Class.Bone|Bones4> 时,限制器将使用其动态位置和方向。
要创建机械限制,您可以使用 创建 工具或 Explorer 窗口。
在模型选项卡中,访问 创建 按钮的选择菜单,选择您想要的限制输入,例如 弹簧 。
在 3D 视图中,将鼠标悬停在任何 Part 或 MeshPart 上,然后单击添加新的 Attachment 到视觉点上的部分。或者,将鼠约束悬停在任何 1> Class.Part1> 或 4> Class.Bone
大多数机械限制在其功能中需要一个 副要求 附件,因此工具通常会提示您重复上一步在另一个 Part , MeshPart , 1> Class.Attribution1> 或 4> Class.Bone4> 。
完成了 SpringConstraint 连接两个附件
物理模拟
要在移动或旋转部件时模拟物理,您可以切换到 物理 模式在 模型 选项卡中,有效地强制部件遵守物理限制。例如,如果两个部件被 索引约束 并且您将其拖动到场景上,其他部件将跟随为 2>索引约束2> 变形。
