youvsvirus / youvsvirus-unity

Unity version of the you vs virus game.
GNU General Public License v3.0
1 stars 1 forks source link

Player house bug #123

Closed holke closed 4 years ago

holke commented 4 years ago

In the mask level: If i press space often and quickly while standing next to the player house, i can reach a state where the player is inside and outside at the same time: image

The player can move around normally, but also the small player looks out of the window.

holke commented 4 years ago

I thought this happened when the coroutine for entering and the one for exiting the house are called simultaneously. In 5b5085c i changed the coroutines such that they cannot be executed if the other one is still running. This seemed to make the bug occur less often, but it still occurs.

maccxs commented 4 years ago

Thanks for the picture. I somehow missed this issue altogether :-( Now I finally know what you mean. Sorry for seeing this so late.

maccxs commented 4 years ago

Were you able to fix it now with your idea?

maccxs commented 4 years ago

I just now saw your long comment about it. Sorry, am a bit distracted this week.

holke commented 4 years ago

Solved with the new house prefab.