How to get landing gear to properly stick?

It is worth noting that you cannot have landing gear being locked AND also being locked to a connector at the same time.

A possible solution that worked for me was provided by Yellow Claw here:

  1. Create landing gear; completely build it.
  2. Save and reload your save.
  3. Build cockpit and enter it; and then press "P" so it sticks to the ground.
  4. And then continue building like normal

Also the glowing does not nessecarily indicate that the landing gear is correctly positioned.

Taken from the space engineers wiki:

  • Yellow - The landing gear is not engaged, but is within range of a suitable surface to attach itself to.
  • Blue - The gear is in auto locking mode and will lock as soon as a mass is in range.
  • Green - The gear is connected to a surface and secured.
  • Black - The gear is not within range of a suitable surface.

What color is your landing gear glowing in?

When it is glowing yellow, it is in range of a surface to attach to, but not actually attached. Press P to attach it to the surface. A landing gear which is attached will glow green.

You can also but the landing gear in "auto-lock" mode. It will then attach to the first available surface. When in auto-lock mode, the landing gear glows light-blue.