KinematicBody2D and RayCastShape2D doesn't work on One Way Collision

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By pospathos

When I set character with KinematicBody2D and RayCastShapes2D as in this post

character is stuck on the bottom side of one way platform, if I then press jump one more time he is in postition it is supposed to be - it seems to me that when player is inside the platform it stops when RayCastShape2D detects botom of platform so that player is stuck inside the platform (bottom edge of platform). Desired behavior is for RayCastShape2D not to detect one way platform when player is passing thru it, wich is not true unfortunatly. Is this behaviour a bug? I can disable RayCastShapes2D when characeter is jumpig, but I am interested to know is this a wonted behavior or bug. Thanks!