/// <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); }
private static extern void Internal_getDrive(IntPtr thisPtr, D6JointDriveType type, out D6JointDrive __output);
private static extern void Internal_setDrive(IntPtr thisPtr, D6JointDriveType type, ref D6JointDrive drive);
/// <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); }