I must be slow today, but the documentation on the Wiki is not providing much help.

I have two objects in my scene: a left door and a right door. Each have their origin set to the midpoint of the axis of their door hinges. If you apply a rotation around the Y axis, the door will open by rotating around its hinge.

Now for my problem. I want to apply some mechanics so [a] each door’s rotation is restricted to a value between zero degrees and 90 degrees and [b] the doors are linked so rotating one door will automatically rotate the other door.

Since the doors are side-by-side, this means that if the left door is rotated by 45 degrees, the right door has to be automatically rotated by negative 45 degrees.

I’ve been playing with the Object Constraint function. The “copy rotation” constraint looked promising, but there appears to be no way to invert the polarity of the rotation. That is, rotating the left door by 45 will rotate the right by 45, not -45 as is desired.

And there does not see to be any constraint on the values for rotation.

Is there another function I should be using instead of constraint? If so, what is the official name, so I can search the forum and the Wiki?