The physics engine includes the following Constraints that behave as conceptual mechanical connections, including hinges, springs, ropes, and more. In addition, various mover constraints are available to exert directional or rotational force upon assemblies.
Constraint Visualization
To accurately visualize constraints in Studio, you can use the following options from the Model tab:
Show Welds — Show WeldConstraints, separately from the visualization of other constraints.
Constraint Details — Show complete visual details of non-weld constraints.
Scale — Relative scale of visualizations.
Creating Constraints
All mechanical constraints must connect one or two Attachments or Bones, except for WeldConstraint and NoCollisionConstraint. When connected to Bones, the constraint will use their animated position and orientation.
To create a mechanical constraint, you can use either the Create tool or the Explorer window.
In the Model tab, access the Create button's picker menu and select the desired constraint type, for example Spring.
In the 3D viewport, hover over any Part or MeshPart and click to add a new Attachment to the part at the visualized point. Alternatively, hover over and click an existing Attachment or Bone to use it for the constraint.
Most mechanical constraints require a secondary attachment in their functionality, so the tool will typically prompt you to repeat the previous step on another Part, MeshPart, Attachment, or Bone.
Physical Simulation
To simulate physics while moving or rotating parts, you can switch to Physical mode in the Model tab, effectively forcing parts to obey physical limitations. For example, if two parts are attached by a RopeConstraint and you drag one part around the scene, the other part will follow as the rope becomes taut.