space-truckers icon indicating copy to clipboard operation
space-truckers copied to clipboard

initial launch velocity should incorporate orbital velocity

Open jelster opened this issue 3 years ago • 0 comments

The initial velocity of the cargo unit with respect to the origin planet is zero (as well as zero in terms of world velocity).

Scenario: The cargoUnit is launched at a vector perpendicular to the current tangential velocity vector

Expected Results: Velocity components in the forward (prograde) direction should match orbital velocity elements

Actual results: The cargoUnit's velocity vector has zero or no prograde components

When the cargo unit is launched, it's possible that the current orbital velocity vector is not being taken into account. This will manifest in scenarios like:

  • launching in the current frame's forward vector for the orbit does not result in additive velocities
  • launching in the retrograde direction to the orbit should have a lower initial post-launch velocity than in the opposite direction (actual behavior: it has the same or higher)

jelster avatar Aug 04 '21 01:08 jelster