This version of Unity is unsupported.

JointLimits.max

public float max;

Description

The upper angular limit (in degrees) of the joint.

When the joint angle or position is above it, the joint will exert forces to constrain it.