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

[Godot Physics] Capsule-Cylinder collision with move_and_slide sometimes gets bad collision normals #47185

Closed
Tracked by #45333
e344fde6bf opened this issue Mar 20, 2021 · 1 comment

Comments

@e344fde6bf
Copy link
Contributor

e344fde6bf commented Mar 20, 2021

Godot version:
3.3-rc6-official

OS/device including version:
N/A

Issue description:

With #47084 most of the capsule-cylinder collision issues have been fixed, however a small issue remains when sliding across the side of a cylinder. Sometimes move_and_slide will give bad normals like this:

bad-collision-normal

bad-normal-2

Steps to reproduce:

  • Use move_and_slide to walk backwards and forwards on the side of a cylinder. This bug doesn't happen all the time, but it happens pretty consistently.
capsule-cylinder-side-walking.mp4

Minimal reproduction project:

MRP: https://github.com/godotengine/godot/files/6175149/cylinder-collision-bug.zip
Also for further testing: https://github.com/e344fde6bf/godot-physics-sandbox

@rburing
Copy link
Member

rburing commented Apr 20, 2024

Here is an updated test project: godot-cylinder-test.zip

The issue has been fixed for a while, at least it is fixed in 4.2.1.

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

4 participants