FirstPersonKSP / FreeIva

Work in progress mod for Kerbal Space Program which allows getting out of your seat and moving around the vessel while on IVA.
GNU General Public License v2.0
22 stars 7 forks source link

Spin gravity angle improperly calculated #379

Closed dawn0303 closed 4 months ago

dawn0303 commented 7 months ago

when on a spinning station with habitats parallel to the rotational axis, the spin gravity will angle away from the parts COM, instead of outwards from the angle of acceleration to repro test with spinGravTest.craft, requires GRAPEFRUIT and additional parts from here: FreeIVA spin issue.zip

reproduction steps:

  1. launch spinGravTest.craft with crew
  2. put it into orbit using cheats
  3. transfer at least one crew into the multipurpose hab
  4. turn on infinite fuel and fire the engines for 1-2 seconds
  5. turn off the engines
  6. switch to the IVA view of the kerbal in the multipurpose hab
  7. unbuckle from the seat and walk around the hab, the direction of gravity will point away from the COM of the hab, not the axis of rotation image at the far end of one hab, right before the entrance to another, the angle is incredibly skewed image as soon as you cross into the next hab the angle is reset to be away from the new habs COM