You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue description:
While one-way collision shape works fine with static bodies, they do not work with kinematic body.
(Or at least not with move_and_slide functionality.)
Steps to reproduce:
Make any kinematic body with a collision shape, let's say a KinematicBody2D.
Set the collision shape to being 1 direction only.
Collide it with something, then you will see that it does not work. Specifically speaking, it acts as if 1 direction were not on at all, so in the case of a 2D rectangle (4 directions), it's 4 directions active instead of simply 1
Minimal reproduction project:
As an example here is a game that has a KinematicBody2D with a collision shape deliberately facing the wrong way. It is rotated to face the right, so it should not logically collide with the box, yet it still does.
Calinou
changed the title
One Way Collision Shape Does Not Work with KinematicBody
One-way collision shape does not work with KinematicBody2D
Jun 7, 2020
Version:
v3.1.beta2.official (Jan-2019)
Issue description:
While one-way collision shape works fine with static bodies, they do not work with kinematic body.
(Or at least not with move_and_slide functionality.)
Steps to reproduce:
Minimal reproduction project:
As an example here is a game that has a KinematicBody2D with a collision shape deliberately facing the wrong way. It is rotated to face the right, so it should not logically collide with the box, yet it still does.
MinimalBugKinematicOneWay.zip
The text was updated successfully, but these errors were encountered: