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

KinematicBody2D hugs corners when using move_and_slide() #43012

Closed
madmiraal opened this issue Oct 22, 2020 · 1 comment
Closed

KinematicBody2D hugs corners when using move_and_slide() #43012

madmiraal opened this issue Oct 22, 2020 · 1 comment

Comments

@madmiraal
Copy link
Contributor

Godot version: 3.2.3.stable

OS/device including version: Ubuntu 20.04

Issue description:
When a KinematicBody2D using move_and_slide() glances the corner of a StaticBody2D, it hugs the corner and slides along the opposite surface:
KinematicBody-Hugging-Corner2
Related to #25967, but that was with a one-way collision surface that is fixed with #42574.

Steps to reproduce:
Create KinematicBody2D and aim it so it just glances the corner of a StaticBody2D.

Minimal reproduction project:
KinemacticHuggingCorner.zip

@pouleyKetchoupp
Copy link
Contributor

Fixed by #42574, closing.

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

3 participants