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

[Bullet] move_and_slide_with_snap causes erroneous movement near edges #29392

Closed
Tracked by #45022
jackwilsdon opened this issue Jun 2, 2019 · 8 comments
Closed
Tracked by #45022

Comments

@jackwilsdon
Copy link
Contributor

jackwilsdon commented Jun 2, 2019

Godot version: v3.1.stable.official

OS/device including version: Windows 10

Issue description: move_and_slide_with_snap causes a KinematicBody to slide of it's own accord if it's near an edge.

Dropped directly on the seam
Dropped on seam

Dropped near the seam
Dropped near seam

Note that this doesn't happen when dropped near the seam if the static body on the left is not present.

Steps to reproduce: Create two static bodies with box collision shapes that are touching and drop a KinematicBody using move_and_slide_with_snap near the seam (doesn't happen with move_and_slide at all).

Minimal reproduction project: seam_bug.zip

@klhrt
Copy link

klhrt commented Aug 25, 2019

happens with move_and_slide() and move_and_collide() in 3.1.1

@madmiraal
Copy link
Contributor

Related to #28438?

@jackwilsdon
Copy link
Contributor Author

@madmiraal #28438 doesn't seem to be using move_and_slide_with_snap, although I guess that doesn't eliminate the possibility of them being caused by the same root issue.

@KoBeWi
Copy link
Member

KoBeWi commented Dec 18, 2020

Still valid in 3.2.4 beta4

@pouleyKetchoupp pouleyKetchoupp changed the title move_and_slide_with_snap causes erroneous movement near edges [Bullet] move_and_slide_with_snap causes erroneous movement near edges Jan 8, 2021
@pouleyKetchoupp
Copy link
Contributor

Can be still reproduced in 3.2.4 beta 5, but occurs only when using Bullet Physics (default settings). Switching to Godot Physics 3D fixes the issue.

@David-Ochoa
Copy link

Well, it doesn't fix the issue because I can't switch from bullet to godot Physics, it's more accurate to say it's not present on Godot Physics

@pseidemann
Copy link

I confirm this issue still exists with move_and_slide, v3.4.4.stable.official [419e713], macOS 12.3.1 (21E258) with the Bullet engine.
In my case I just walk over the seams which causes my player to make little jitter jumps which disrupt the experience.

@akien-mga akien-mga modified the milestones: 3.x, 3.5 May 19, 2022
@akien-mga
Copy link
Member

Fixed by #56801.

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

8 participants