One of the mechanics in my game is based on platforms that can be toggled on and off. This is done using a switch. When the player collides with the switch it turns the solid behavior off on the platform and makes it invisible. The problem is the player stays floating, and can move from side to side, until he jumps. Only then does the game realize that the solid that once was there is now disabled.