I have an enemy casting a ray towards the player to check if it can see the player.
In my tilemap there is an tile with oneway collision but the raycast dont respect oneway collisions. I thought i could solve the problem by changing the collisions mask of the tile. But it seems as if you only can change the mask for the complete tilemap. Is there a way to solve this which not features as second tilemap?