-
Notifications
You must be signed in to change notification settings - Fork 41
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
1.18 Physics Issues #67
Comments
The collide function seems to be quite different from previous versions:
But also simpler. |
here are 2 video examples of this happening to me too |
A hacky fix for this issue is changing line 118 of prismarine-physics's index.js to It seems to happen at x=-2, x=-32, etc. but not at x=-16 or x=-8, could be a floating point issue? Oddly adding 0.01 to playerhalfwidth does NOT fix this issue. |
1.18 made changes to physics that cause the bot to get stuck due to the server's anticheat disallowing movements and rubberbanding the player. I made a PR on pathfinder because I assumed it was an issue with that library, but it turns out it works fine on lower versions and is an issue with 1.18 physics.
An easy way to observe this is to get pathfinder to slide across blocks during diagonal movements like so. In the current implementation, it will get stuck forever. It can also happen when jumping up blocks.
The text was updated successfully, but these errors were encountered: