Nebula icon indicating copy to clipboard operation
Nebula copied to clipboard

Add shuttle rotation support

Open out-of-phaze opened this issue 1 year ago • 4 comments

Description of changes

Shuttles can now rotate when landing, in order to align their landmark with their landing site's landmark. This is optional and controlled by the destination landmark.

TODO:

  • [x] Add HUD button for rotating 90/-90 degrees during manual landing.

Why and what will this PR improve

Shuttle rotation's cool.

out-of-phaze avatar Sep 13 '23 21:09 out-of-phaze

So, one issue: this kind of sucks. I need to make the shuttle landmark once again just the center of mass of the shuttle, used for rotation, and then have separate landmarks for docking points like airlocks. That's gonna be a bit of a pain, probably... open to any advice/help.

out-of-phaze avatar Jan 11 '24 02:01 out-of-phaze

This current implementation causes issues with planetary landing because there's no ability to land with the landmark at the center of the ship. I need to find a good way to fix this before it can be merged.

out-of-phaze avatar Mar 06 '24 18:03 out-of-phaze

I have fixed it and a bunch of long-standing issues with docking/etc., plus some new ones introduced by the 515 migration. Fuck yes. TODO before I'll mark it ready for review:

  • [x] Fix windows, lattices, low walls, etc. not updating icons properly
    • [x] Fix window icons/connections
    • [x] Fix lattice icons/connections
    • [x] Fix low wall icons/connections
  • [x] Fix doors not setting direction properly
  • [x] Fix selecting 'none' for center of rotation
  • [x] Add ability for centers of rotation to set shuttle_docking_controller
  • [x] Fix rotation direction/reorientation calculations

out-of-phaze avatar Jul 02 '24 19:07 out-of-phaze

Could still use feedback on UX stuff, but honestly that can be changed on dev/staging/etc. Holy shit, it's finally ready.

out-of-phaze avatar Jul 02 '24 19:07 out-of-phaze

#yolo

MistakeNot4892 avatar Aug 27 '24 02:08 MistakeNot4892