-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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
CollisionPolygon2D bug with one way collision #38675
Comments
Kind of related to #38873 |
Can anyone reproduce this issue in 3.4 beta 6 or later release? The minimal reproduction project is not available anymore so I can't confirm. |
Give me a few days and I will try it in my old game which has this problem |
@pouleyKetchoupp I updated the minimal reproduction project, just press the right key until you are on top of the block and then, go back and fall, while you are falling go to the middle of the block, you will get stuck |
Confirmed still an issue in 4.2 |
Godot version: 3.2.1
OS/device including version: Windows 10 x64
Issue description:
When you activate a CollisionShape2D with one way collision enabled, and if you have a CollisionPolygon2D, if you are on top of the CollisionShape and you fall from the sides to inside the CollisionShape2D, the CollisionPolygon2D get stucked in the CollisionShape2D
Steps to reproduce:
Create a new scene with a KinematicBody2D node and add some script to move it, add a CollisionPolygon2D as a child (CollisionPolygon2D with more then one color/triangulation). Then create a new scene with a CollisionShape2D with one way collision activated. Instance one scene into other and put the KinematicBody2D on top of the CollisionShape. Play the scene, with your KinematicBody2D fall from one of the sides of the CollisionShape and , while you are falling, go to the center of the CollisionShape2D, you will get stucked in the colors that are part of the CollisionPolygon2D
Minimal reproduction project
MRP.zip
The text was updated successfully, but these errors were encountered: