-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set speed craft exceeded while turning. #909
Comments
I've been able to partially reproduce this and this issue has been around for awhile. Running master (engine/assets), when I fly at 120, turning increases speed up to a point. However, when I stop turning, it slows down. I went back in time around a year and I've been able to reproduce this. Several questions and requests:
I think the core issue here is the speed calculation. Let say you fly at 100 in direction x. Now you make an instant turn to y (90 degrees). You start decelerating in x and accelerating in y. If deceleration is really slow, you should reach speed of near 100 in x and y (not realistic example). The computer than calculates speed as sqrt(xx + yy) ~= 141. |
Yes, most definitely it is in the speed calculation. Paraphrasing the manual, in Vega Strike there are two modes of travel. In the other mode, TRAVEL, your ship's maneuvering compensation is turned off, and you can typically reach much, much higher speeds (Around 100x, I seem to recall) Now you have permanent slips and all kinds of flight that would be normal for a space ship. What I think happened sometime in the past, is that this flight model was modified by someone that did not understand the purpose of the two modes of travel, and allowed for surpassing the speed limit that the flight computer was supposed to enforce in MANEUVER mode. So, to take your example of traveling in a certain direction at a speed of 100, in MANEUVER mode. As you change direction, thrust is applied in whatever direction is necessary to change your direction of travel. However, your flight computer carefully balances the thrust so as to not exceed the speed limit of the craft. |
OK, there was a separate issue that will be solved shortly where Orthogonal acceleration went missing, and this caused your ship to not return to 0 when cutting the engines. This is completely separate from the ship exceeding the set speed. |
"The computer than calculates speed as sqrt(xx + yy) ~= 141" I might be wrong, but if the speed is set to 100, the formula should be more something like this: sqrt(xx + yy) = 100. |
This was more of a guess on my part. I went back a least a year in the engine versions and this was in the code already. This may be something I am unable to fix. Please remind me in two weeks or so and I'll give it a go. |
Will do. |
Hi Roy! Unfortunately, the set speed is still being exceeded when turning. |
Sorry. It was closed by accident. I left the auto-close in #911 and when I closed that, it closed this as well. |
Hi there.
This has been ongoing for a while now, and is definitely different from the way that Vega Strike used to play in the old days.
Testing is now done on the latest master of Assets and Engine as of 2024-11-22.
The problem is this.
The Llama, once you applied the first fix, has a top speed of 125. (Of whatever units Vega Strike uses)
If you point the ship in a direction, and apply full thrust, it gets to that speed.
However, if you now turn your ship, the speed increases.
This is a problem, as the speed should stay at the speed limit, and not exceed it.
This is the way that the game used to work, but somewhere in the last year or two this has changed. In theory, your ship's computer should use it's thrusters to change direction, and ensure that the speed limit is not exceeded.
This may be why the autopilot overshoots it's targets, as the ship is doing something that is not expected.
Now, very recently, this effect seems to have gotten worse.
When accelerating to full speed, and then turning into a new direction still pushes the ship past its top maneuvering speed.
When you cut thrust, the ship does not come to a stop at all, and continues on indefinitely at this higher than the speed limit speed.
Here is a youtube video that shows what I am talking about. Volume is a bit low, so you might have to increase the volume to hear my voice.
https://youtu.be/bFDHvAJ1ze0
The text was updated successfully, but these errors were encountered: