-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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 doesnt move with platform if it has another KinematicBody2D on top of it. #49497
Comments
So apparently REDUCING the safe margin makes this effect less noticeable. |
It still happens in godot 4 alpha with Without stacking, it works perfectly if just one or many CharacterBody2D are over the moving platform. As collisions in version 4.x are in one direction only, to make the boxes to interact with each other you need to set layers and masks like: box: layer 1, mask 1. *the platform below is an |
Godot4.:
In the mrp the red squares are
|
Godot version
3.3.x (018ca6b)
System information
Ubuntu 20.10, GeForce GTX 1650
Issue description
When One KinematicBody2D stands on another KinematicBody2D, on a side moving platform, they slide instead of moving with the platform. See the gif below:
Sometimes it seems to work for a little time, and then they slide.
The expected result would be that both bodies move with the platform.
In Godot 3.2.3, the behaviour is the expected one.
Steps to reproduce
Minimal reproduction project
KB2D_Platforms_Test.zip
The text was updated successfully, but these errors were encountered: