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

Spherical KinematicBody2D gets stuck under moving platforms #49387

Open
Tracked by #45334
orestiskon opened this issue Jun 7, 2021 · 0 comments
Open
Tracked by #45334

Spherical KinematicBody2D gets stuck under moving platforms #49387

orestiskon opened this issue Jun 7, 2021 · 0 comments

Comments

@orestiskon
Copy link

Godot version:
Godot 3.3.2 Stable

OS/device including version:
Windows 10
Ryzen 7 1700x, nvidia 1080 Ti, Driver version: 461.72

Issue description:
When using a spherical or cylindrical collider shape for the player, it seems to get stuck underneath a kinematicbody platform if the platform is descending. Check the attach video for demonstration:
https://user-images.githubusercontent.com/14933041/121013931-17a12c00-c7a2-11eb-869a-1d48bea9baf7.mp4

Using a rectangle collision shape doesn't produce this problem. I've been trying to debug it for hours and using help, and I can't figure out why it's doing this, so I suspect it's a buggy behavior.

I tried using both move_and_slide and move_and_slide with snap and they have the same problem.
I also have issues with the snap when standing on top of the platform as the jump doesn't work, but haven't debugged it a lot.

Steps to reproduce:
Open the project and jump underneath the moving platform while it's descending. You will notice the player gets stuck under it during the duration of the descent.

Minimal reproduction project:

Another 2D Platformer - Reduced.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants