asteroids icon indicating copy to clipboard operation
asteroids copied to clipboard

Hitting the speed limit puts you in a kind of "Hyper-control" mode

Open jsocol opened this issue 15 years ago • 1 comments

Because of my not-really-naïve-but-not-really-intelligent-either implementation of speed limits in the player.thrust() method, there are two interesting behaviors at full-speed:

  1. If you hold UP while at full-speed and then turn, you turn like a car, not like a space-ship.
  2. If you're going full-speed (not holding UP) turn (nearly-)90-degrees, and then hit UP, the turn is (near-)instant.

I'm almost tempted not to fix it because it's kind of an easter egg and not remotely helpful in terms of gameplay.

jsocol avatar Apr 25 '10 08:04 jsocol

I've been thinking about this, and the problem is that you reach the speed limit. The universe also has a speed limit, c, but you can't reach it. (It's an interesting thought experiment: what happens if you're going c and accelerate directly to your left?)

I'm trying to think if there's a way to do this besides effectively treating the speed limit as c and using the relativistic energy/momentum equations in thrust().

jsocol avatar Apr 25 '10 19:04 jsocol