move_to_contact
Close surface gaps by sliding a part until its mesh touches a target, optionally along one axis and with depth to hide seams.
Instructions
Close a gap by surfaces: slide a (with children) until its mesh touches the mesh of to (attach aligns
boxes instead, place_on drops by a ray). Without axis it takes the shortest
way; with an axis it slides along that axis only, so other coordinates stay. depth sinks the part into the
target by that many metres to hide the seam: use 0.005..0.02 for limbs and necks. If the parts already
overlap nothing moves. The whole object moves, never only its end: for a long part that must stay put at the
other end, resize it with set_dimensions and anchor, or rebuild it with limb. Use attach to align by bounding
boxes, combine to merge meshes into one object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| to | Yes | ||
| axis | No | ||
| depth | No |