If you apply only displacement constraints (not rotational) along a straight line, this will act as a hinge with its axis along the line where you applied the constraints.
WARNING: If the nodes you are constraining are not in a straight line, this will act like a fixed constraint.
-Dan