Stitch Constraints

Stitch constraints link pairs of particles together, forcing them to stay as close to each other as possible (ideally on top of each other). They are typically used to stitch different actors together, for instance two pieces of cloth or cloth to a rope.

Cloth stitched to a rope by its corners.

Like all other constraint types, you can set some per-solver global parameters for stitch constraints: you can enable/disable them, set the amount of iterations spent on them, and change their relaxation factor.

Unlike most other constraint types, stitch constraints aren't stored in a blueprint. They are automatically created and managed by Obi Stitchers. However, stitch constraints don't necessarily have to be associated to or managed by an attachment: you can also create stitch constraints programmatically if you need, see scripting constraints for more info on creating constraints at runtime.