orbit/dev
Brian Fertig ebd26ad7ba Stop thrusting ship dead when it hits an obstacle or the tether rim
- constrainShip on Planet, Star, Station, JumpGate, and AsteroidCluster now
  returns a contact boolean (true only when position/velocity/acceleration
  actually changed) so the scene can distinguish "touched" from "no-op".
- GameScene.onPostUpdate reads those flags and, if the ship is in its
  Shift+click thrust state, calls stop() + setState('normal', 'contact')
  the first frame any solid or the tether rim touches it — the hold ends
  and the ship rests on the rim instead of driving through.
- Non-thrust ships are left alone by the rule; their existing arrival/brake
  logic still owns their stop.
- dev/contact.test.mjs: headless tests covering no-contact outside the
  keep-out, contact + push-out + inward-motion strip on approach, no
  spurious contact while sliding off the rim, the full thrust-into-planet
  stop-dead-on-rim integration, and that the rule only fires in thrust.
- dev/smoke-game.mjs: add a third thrusttest check (c) verifying a
  Shift+click straight into the planet stops it dead on the rim.
2026-09-07 00:21:30 -06:00
..
asteroids.test.mjs Galaxy refactor: 200 systems, object-composition, dormant gates, frame diversity 2026-09-06 13:06:29 -06:00
build-check.html
…
build-check.mjs
…
builds.test.mjs
…
cdp-eval.mjs
…
cdp-firefox.mjs
…
cdp-shot.mjs
…
cdpshot.mjs
…
clickout-test.html
…
clickout-test.mjs
…
comms-click.html
…
comms-click.mjs Decouple comms panel from fly-to and add double-click clip skip 2026-09-06 15:08:32 -06:00
comms-shot.html
…
comms-shot.mjs
…
contact.test.mjs Stop thrusting ship dead when it hits an obstacle or the tether rim 2026-09-07 00:21:30 -06:00
container-probe.html Decouple comms panel from fly-to and add double-click clip skip 2026-09-06 15:08:32 -06:00
container-probe.mjs Decouple comms panel from fly-to and add double-click clip skip 2026-09-06 15:08:32 -06:00
decode.test.mjs
…
discovery.test.mjs Galaxy refactor: 200 systems, object-composition, dormant gates, frame diversity 2026-09-06 13:06:29 -06:00
frames.test.mjs Galaxy refactor: 200 systems, object-composition, dormant gates, frame diversity 2026-09-06 13:06:29 -06:00
galaxy.test.mjs Add stars as central bodies of non-home systems and fix home-system iden 2026-09-06 19:34:49 -06:00
gate-comms.html Add gate comm window and sprite-based jump gate rendering 2026-09-06 20:26:06 -06:00
gate-comms.mjs Add gate comm window and sprite-based jump gate rendering 2026-09-06 20:26:06 -06:00
hold-restore.html Decouple comms panel from fly-to and add double-click clip skip 2026-09-06 15:08:32 -06:00
hold-restore.mjs Decouple comms panel from fly-to and add double-click clip skip 2026-09-06 15:08:32 -06:00
jump-travel.test.mjs Add gate comm window and sprite-based jump gate rendering 2026-09-06 20:26:06 -06:00
jumpgate.test.mjs Add gate comm window and sprite-based jump gate rendering 2026-09-06 20:26:06 -06:00
jumps.test.mjs Galaxy refactor: 200 systems, object-composition, dormant gates, frame diversity 2026-09-06 13:06:29 -06:00
landing-click.html
…
landing-click.mjs
…
map-shot.html Add MAP console with system chart and fog-of-war 2026-09-06 23:43:35 -06:00
map-shot.mjs Add MAP console with system chart and fog-of-war 2026-09-06 23:43:35 -06:00
menu-intro-test.html Add MAP console with system chart and fog-of-war 2026-09-06 23:43:35 -06:00
menu-intro-test.mjs Add MAP console with system chart and fog-of-war 2026-09-06 23:43:35 -06:00
mineral-hud.test.mjs
…
mining-test.html
…
mining-test.mjs
…
mining.test.mjs
…
music.test.mjs Add stars as central bodies of non-home systems and fix home-system iden 2026-09-06 19:34:49 -06:00
nav-reach-probe.mjs Add stars as central bodies of non-home systems and fix home-system iden 2026-09-06 19:34:49 -06:00
phaser-loader.mjs
…
phaser-stub.mjs
…
planet.test.mjs
…
popup-shot.html
…
popup-shot.mjs
…
probe-imports.html Decouple comms panel from fly-to and add double-click clip skip 2026-09-06 15:08:32 -06:00
reputation.test.mjs
…
research-builds.test.mjs Add MAP console with system chart and fog-of-war 2026-09-06 23:43:35 -06:00
research-shot.html
…
research-shot.mjs
…
saves-ui-test.html
…
saves-ui-test.mjs Decouple comms panel from fly-to and add double-click clip skip 2026-09-06 15:08:32 -06:00
saves.test.mjs
…
scan-test.html
…
scan-test.mjs
…
scan.test.mjs
…
scene-restart-probe.html Decouple comms panel from fly-to and add double-click clip skip 2026-09-06 15:08:32 -06:00
scene-restart-probe.mjs Decouple comms panel from fly-to and add double-click clip skip 2026-09-06 15:08:32 -06:00
server.mjs
…
sfx.test.mjs
…
ship-behavior.test.mjs Add Shift+click throttle lock for committed-heading flight 2026-09-07 00:06:57 -06:00
shot-firefox.mjs
…
signal-compass-flow.html
…
signal-compass-flow.mjs
…
signal-compass.test.mjs
…
smoke-game.mjs Stop thrusting ship dead when it hits an obstacle or the tether rim 2026-09-07 00:21:30 -06:00
star.test.mjs Add stars as central bodies of non-home systems and fix home-system iden 2026-09-06 19:34:49 -06:00
starfield.test.mjs
…
surface-flow.mjs
…
surface-hud-shot.html
…
surface-hud-shot.mjs
…
surface-hud.html
…
surface-hud.mjs
…
surface-shot.html
…
surface-shot.mjs
…
surface-skip.html Decouple comms panel from fly-to and add double-click clip skip 2026-09-06 15:08:32 -06:00
surface-skip.mjs Decouple comms panel from fly-to and add double-click clip skip 2026-09-06 15:08:32 -06:00
surface-test.html
…
system-category.test.mjs Fix jumpgate activation bug and add NAV chart diagnostics 2026-09-06 17:41:29 -06:00
system-chart.test.mjs Add MAP console with system chart and fog-of-war 2026-09-06 23:43:35 -06:00
system-hud.test.mjs Add stars as central bodies of non-home systems and fix home-system iden 2026-09-06 19:34:49 -06:00
test-game.html
…
tether-flow.html Bump tether radius growth to 2× and refresh HUD on build completion 2026-09-05 19:52:54 -06:00
tether-flow.mjs Bump tether radius growth to 2× and refresh HUD on build completion 2026-09-05 19:52:54 -06:00
tether-newworld.html Add stars as central bodies of non-home systems and fix home-system iden 2026-09-06 19:34:49 -06:00
tether-newworld.mjs Add stars as central bodies of non-home systems and fix home-system iden 2026-09-06 19:34:49 -06:00
tether.test.mjs Cap tether progression at level 3 and remove tether_l4 research node 2026-09-06 15:20:31 -06:00
wdshot.mjs
…
world-names.test.mjs
…
zorder-test.html
…
zorder-test.mjs
…