Creates a constraint (an invisible connection (rod) between 2 objects) between part and base.
void addConstraint(this obj base, obj part, vec3 pivot, out constr constraint)
Type: obj
The object that will be glued on.
Type: obj
The object that will be glued on the base.
Type: vec3
The other end of the constraint rod.
Modifiers: out
Type: constr
The created constraint.