One way collision with tiles

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Serenade
:warning: Old Version Published before Godot 3 was released.

How can you make tile set to allow for the player to jump trough?
I made a scene, sprite>staticbody2D>collision
And checked them to have one way collision from bellow ( one way collision dir to be 0,1 and for max depth to be 20), how ever, when i export them as tilesets and use it in the scene, i cant pass trough them, is there a code you can enable it trough script?

:bust_in_silhouette: Reply From: gcivico

Maybe this do not help to much but I first created the tile map (I do it with Tiled) and exported it to my scene. Then I add the one way platforms I need under the tile map node. I am not created the one way platform as part of the tile map, and works fine.

:bust_in_silhouette: Reply From: eons

Here is a recent question about the same subject One Way Collisions not working in a tilemap - Archive - Godot Forum