In my platformer, I have blocks which disappear and reappear. They work just fine, but there is only one problem. Whenever the blocks change as the player is colliding with the disabled block, the player gets stuck and has no way of getting out other than to switch the blocks again. I have been trying to find the solution to this problem, but I haven't been able to find anything that would help. How would I overcome this issue?