Constraints

Constraints are a widget that make objects constrained to either a point or another object. In PhSim, the constraint widget utilizes the Matter.Constraint module to operate.

Adding constraints

There are two main ways of creating a constraint:

Adding constraints as a phsim widget

Constraints can be added to