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

FTR: Players should be Realigned Near Box Edges / Stairstepping #254

Open
proof88 opened this issue Nov 5, 2023 · 0 comments
Open

FTR: Players should be Realigned Near Box Edges / Stairstepping #254

proof88 opened this issue Nov 5, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@proof88
Copy link
Owner

proof88 commented Nov 5, 2023

It looks nonsense that a player cannot start falling down when only 5% of its body width is on a box, the rest is in the air.
I think in such situation the player should be automatically realigned so it should start falling down.

Btw the automatic stair-stepping should be based on similar logic: when you collide vertically with a wall, we should check the difference of the wall top Y edge and the player's botton Y edge, and if that is within a threshold, the player should be automatically realigned on Y-axis and be let continue the strafing on the box. This way it could easily walk up on the stairs.

@proof88 proof88 added the enhancement New feature or request label Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant