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

Fix the move-up portion of mom_mv_snap_to_ground #2049

Open
jason-e opened this issue Apr 27, 2023 · 0 comments
Open

Fix the move-up portion of mom_mv_snap_to_ground #2049

jason-e opened this issue Apr 27, 2023 · 0 comments
Assignees
Labels
Type: Bug Something that should work/look one way isn't quite doing that. What: Movement This is movement code related

Comments

@jason-e
Copy link
Member

jason-e commented Apr 27, 2023

One thing mom_mv_snap_to_ground 1 does is ensure the player is always at least DIST_EPSILON (0.03125 units) away from the ground. To do this, it checks to make sure there is room above the player to move them up before doing so. Sometimes, due to engine limitations, this check will appear to show that there is enough room above when there actually is not, which results in the player getting stuck after being moved up. This needs to be fixed by adding some additional safety check (assuming the underlying issue cannot be resolved).

@jason-e jason-e self-assigned this Apr 27, 2023
@Gocnak Gocnak added Type: Bug Something that should work/look one way isn't quite doing that. What: Movement This is movement code related labels Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something that should work/look one way isn't quite doing that. What: Movement This is movement code related
Projects
Status: To Do
Development

No branches or pull requests

2 participants