-
Notifications
You must be signed in to change notification settings - Fork 10
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
Inconsistent collision detection #23
Comments
I pushed a new version with up-left and up-right raycasts which according to my own testing solves the problem. Please give it a try! |
Thank you! The character now does not get caught on or clips into platforms when jumping at them from below. However, the issue seen in the very first gif and other similar ones are still present. |
This seems to happen when it is only the down-left/right ray that hits the platform right? At least that's what it looks like from the gif. |
Yes, that seems to be the case. Here's a video with three different examples of this happening: https://www.youtube.com/watch?v=uHpuQ5_5ytQ |
I've fixed this last case now in the latest release |
With moving platforms, collision detection can be very inconsistent, resulting the character moving into platforms and being warped out of platforms when collision is detected too late.
I played around with adding more rays, but that does only help a little:
Adding even more rays in between, the character get's caught up on platforms even easier.
The text was updated successfully, but these errors were encountered: