A look at the operation of landing gear latches. Up locks and down locks hold the landing gear in place so it does not move contrary to the pilot's commands.
Lot complex mechanism would be reduced if replaced by elongated ~mudguard size of tyretrain isolating inner deck machine exposure , & a simpler retracting mechanism with tyres along Axis of plane similar to nose wheel...