upperLimitOf

Returns joint's upper limit: an angle in radians for a hinge, a distance for a slider.