On tiled physics ground or walls, prevent collision with wrong edge?

This was discussed recently:
https://forum.defold.com/t/merge-tile-colliders

Also analyzed a while back:
https://forum.defold.com/t/directional-platforms-help

It’s difficult to get this working. You can switch to using ray casts instead of collision shapes between your tile map and characters. A helpful library in remedying this problem can be found here: