Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
 private static extern void Internal_getDrive(IntPtr thisPtr, D6JointDriveType type, out D6JointDrive __output);
Ejemplo n.º 3
0
 private static extern void Internal_setDrive(IntPtr thisPtr, D6JointDriveType type, ref D6JointDrive drive);
Ejemplo n.º 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);
 }