actually the platforms weren't that difficult it's just that I had to make good level design to hide the way it actually works, it just disables the player's collisions whenever you're in the light (in light's range and in line of sight) and that's also why the one way platforms work, I just went "it's not a bug it's a feature"