Conservation of momentum physics issue

Wilhelm shared this bug 4 hours ago
Submitted

I swear I submitted this bug, but I can't find it with an extensive search. Reposting.

There is an issue with the physics engine, specifically with unbalanced thrust. I can actually reproduce this with SE1 and SE2, but the former only recently (with the prosperity update or perhaps the one prior, which may narrow it down if there was any code merging). It is possible that it was there all along and only once I figured out how to duplicate the issue in SE2 that I started to also see it in SE1, but I don't think so.

This issue is that your momentum seems to 'attach' to a facing of the ship and once that happens you can turn the ship and the ship's momentum continues on that facing. Flying, I rely heavily on turning or rolling the ship to improve turn rates by turning the heavier thrust facings of the ship into the turn. Example, flying in atmosphere with 2 large atmos thrusters in the down face but one small thruster to the left and right, if I'm turning, I'll rotate the ship 45% into the turn to allow the down facing large thrusters to assist in the turn.

Often my ships will have unbalanced (lighter) thrust to the sides than forward/back and up (for atmospheric performance). Okay, with that in mind, the actual bug is:

  1. Fly straight ahead and get to top speed.
  2. Disable inertial dampeners
  3. Rotate the ship 90 degrees so that the right side of the ship is facing the direction of movement
  4. Enable inertial dampeners (the underpowered side thrust starts to try and slow the ship down)
  5. this should trigger the bug (you may have to try it a few times)
  6. At this point, rotate another 90 degrees so that the rear of the ship (heavier thrust) is facing the original direction of travel. Some % (usually significant) of the momentum rotates with the ship so that the same side thruster that is struggling to slow the ship is still firing 100% even though it should have been rotated out of needing to provide any thrust at all. The actual direction of travel of the ship actually rotated 90%. I have used this to literally steer around obstacles.
  7. It doesn't happen every time, but once that thrust is assigned to that underpowered side thruster, any rotation simply shifts the momentum of the ship until that thruster fully stops the ship (then the issue goes away until next time).

Replies (1)

photo
1

If anyone else can repro this please share, I have gotten (in space) to a point where I could make it happen pretty reliably. The ship I was using was testing with the most was the excellent mission runner ship by Diggrok: https://steamcommunity.com/sharedfiles/filedetails/?id=3621168964 but I could also make it happen with the old starting hydrogen ship and my own designs.

Leave a Comment
 
Attach a file