Initializes the constraint with the provided Body, which represents the collection of physical nodes to which the constraint will be applied.