public static SoftJointLimit GetHighSoftJointLimit(this Joint.Limit limit)
        {
            SoftJointLimit softJointLimit = new SoftJointLimit();

            softJointLimit.limit = (float)limit.upper * Mathf.Rad2Deg;
            return(softJointLimit);
        }
        public static SoftJointLimit GetLinearLimit(this Joint.Limit limit)
        {
            SoftJointLimit softJointLimit = new SoftJointLimit();

            softJointLimit.limit = (float)limit.upper;
            return(softJointLimit);
        }
        public static JointLimits GetJointLimits(this Joint.Limit limit)
        {
            JointLimits jointLimits = new JointLimits();

            jointLimits.min = (float)limit.lower * Mathf.Rad2Deg;
            jointLimits.max = (float)limit.upper * Mathf.Rad2Deg;
            return(jointLimits);
        }