/// <summary>Initializes the struct with default values.</summary>
        public static HingeJointDrive Default()
        {
            HingeJointDrive value = new HingeJointDrive();

            value.speed      = 0f;
            value.forceLimit = 3.40282347E+38f;
            value.gearRatio  = 1f;
            value.freeSpin   = false;

            return(value);
        }
Example #2
0
 private static extern void Internal_setDrive(IntPtr thisPtr, ref HingeJointDrive drive);
Example #3
0
 private static extern void Internal_getDrive(IntPtr thisPtr, out HingeJointDrive __output);