예제 #1
0
        /// <summary>Initializes the struct with default values.</summary>
        public static D6JointDrive Default()
        {
            D6JointDrive value = new D6JointDrive();

            value.stiffness    = 0f;
            value.damping      = 0f;
            value.forceLimit   = 3.40282347E+38f;
            value.acceleration = false;

            return(value);
        }
예제 #2
0
 private static extern void Internal_getDrive(IntPtr thisPtr, D6JointDriveType type, out D6JointDrive __output);
예제 #3
0
 private static extern void Internal_setDrive(IntPtr thisPtr, D6JointDriveType type, ref D6JointDrive drive);
예제 #4
0
 /// <summary>
 /// Determines a drive that will attempt to move the specified degree(s) of freedom to the wanted position and velocity.
 /// </summary>
 public void SetDrive(D6JointDriveType type, D6JointDrive drive)
 {
     Internal_setDrive(mCachedPtr, type, ref drive);
 }