Skip to content
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

[Bug]: Tiny x speed after entering left/right-facing portals with 0 x speed and positive y speed, interfering with retained speed refund #6

Open
1 of 2 tasks
Haku-Runedisk opened this issue Jul 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Haku-Runedisk
Copy link

Before You Report

  • My mods and Everest install are up to date.
  • I have recreated the bug with a minimum number of mods installed.

What platform are you playing on?

Linux

Bug Description

Entered a left-facing portal on the same frame as wall collision, resulting in retained speed and 0 x speed. Transported to right-facing portal, so retained speed is expected to be refunded.
Result:
If having y speed <= 0 (so not downwards), tiny positive (or 0) x speed is given, which doesn't interfere with refunding retained speed, and speed is refunded as expected.
If having y speed > 0 (moving downwards), tiny negative x speed is given, cancelling retained speed and removing your speed.
Example values, (x, y) -> (x, y):
(0, 7.5) -> (-0.00000131, 7.5)
(0, 0) -> (0.00000000, 0)
(0, -60) -> (0.00001049, -60)

In other words:
Expectation for behavior: to have x speed after being transported be exactly 0, if x speed entering the portal is 0.

Steps to Reproduce

From TAS puzzle map Speed Trials' room "secret":
https://github.com/user-attachments/assets/6e167571-1649-4af7-aef3-06544f99fc28

Log Output

No response

@Haku-Runedisk Haku-Runedisk added the bug Something isn't working label Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant