-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Bad separation of KinematicBody2D move against LineShape2D #9332
Comments
Affects master too. Example for godot 3: |
First of all thank you for your report and sorry for the delay. We released Godot 3.0 in January 2018 after 18 months of work, fixing many old issues either directly, or by obsoleting/replacing the features they were referring to. We still have hundreds of issues whose relevance/reproducibility needs to be checked against the current stable version, and that's where you can help us. For bug reports, please also make sure that the issue contains detailed steps to reproduce the bug and, if possible, a zipped project that can be used to reproduce it right away. This greatly speeds up debugging and bugfixing tasks for our contributors. Our Bugsquad will review this issue more in-depth in 15 days, and potentially close it if its relevance could not be confirmed. Thanks in advance. Note: This message is being copy-pasted to many "stale" issues (90+ days without activity). It might happen that it is not meaningful for this specific issue or appears oblivious of the issue's context, if so please comment to notify the Bugsquad about it. |
This issue is still valid for 3.0.2 and current master builds. |
This may be a similar case to |
PlaneShape will be removed in the next compatibility breakage (and likely LineShape too) due to how difficult it is to make it work in other physics engines, so kicking to 3.2/4.0 where it will most likely be removed. |
@reduz maybe a deprecation warning could be added when using this kind of shapes, so projects and docs/tutorials start avoiding their use |
Fixed in 3.1. I'm able to reproduce the problem in 3.0.6-stable, but not with 3.1-stable. |
Godot version: 2.1.3
Issue description:
Moving a KinematicBody2D (as in
move
) against a solid body with a LineShape2D, seems to not separate the body correctly leading to continuous collisions.Steps to reproduce:
Move a KinematicBody2D against a line and try to move it again in the opposite direction.
Forcing a separation (with
set_pos
) lead to the correct behaviour.Link to minimal example project:
kb2dbadlineseparation.zip
Probably related to this #7920 ?
The text was updated successfully, but these errors were encountered: