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

Two or more KinematicBody2D on top of another KinematicBody2D makes the below one to move #40006

Closed
AttackButton opened this issue Jul 1, 2020 · 3 comments · Fixed by #42574

Comments

@AttackButton
Copy link
Contributor

AttackButton commented Jul 1, 2020

Godot version:

Godot 3.2.2.stable

OS/device including version:

Windows 8.1

Issue description:

Two or more KinematicBody2D on top of another KinematicBody2D causes the one below to move and knock down the others.

What I found is that the size of the KinematicBody2D influences this.

movingKinematicBody2Dx

Maybe related:

#27652
--> I tried to put infinite inertia = false in the move_and_slide_with_snap, although this argument is only for the RigidBody2D.

#36280

Steps to reproduce:
Place a KinematicBody2D on the floor with move_and_slide (or move_and_slide_with_snap) idle or moving, and make two others KinematicBody2D jump on top of the first one and keep moving at least one of them.

Minimal reproduction project:

KinematicMoving.zip

@AttackButton
Copy link
Contributor Author

AttackButton commented Jul 1, 2020

Fixed by #36280. Just waiting for the merge to test it more.

@aaronfranke
Copy link
Member

Generally, issues shouldn't be closed until the fix has been merged. I'm reopening this and adding "Fixes #40006" to that PR.

@capnm
Copy link
Contributor

capnm commented Oct 18, 2020

I can confirm that this is broken in 3.2.3.stable and that #42574 fixes the issue for me on the 3.2 branch.

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