when you enter a portal and it switches your direction, as you continue to hold the key it will take you away from the portal. E.G.
I am traveling to the right and i enter into a portal. In this instance i would be using the right arrow key. the other side of the portal spits me out on the inverse side, so normally if I continue to hold the right arrow key, as soon as i exit out the other side of the portal, i would enter right back in because the sides have changed. However, we want to change it now so that when i exit the other side of the portal, i continue to go to the left, which is what my brain expects, away from the other side of the portal. in this instance, for a brief second, holding the right arrow key will be taking me to the left instead of the right. when i let go of the arrow key, the character stops, and then when i press it again, normal controls resume. the right arrow key now again takes me to the right.
when you enter a portal and it switches your direction, as you continue to hold the key it will take you away from the portal. E.G. I am traveling to the right and i enter into a portal. In this instance i would be using the right arrow key. the other side of the portal spits me out on the inverse side, so normally if I continue to hold the right arrow key, as soon as i exit out the other side of the portal, i would enter right back in because the sides have changed. However, we want to change it now so that when i exit the other side of the portal, i continue to go to the left, which is what my brain expects, away from the other side of the portal. in this instance, for a brief second, holding the right arrow key will be taking me to the left instead of the right. when i let go of the arrow key, the character stops, and then when i press it again, normal controls resume. the right arrow key now again takes me to the right.