Need some help with an animation issue

I am currently doing a project that involves making a videogame. Therefore i am using the Blender Game Engine. Now, what happens is that i’ve created an animation for a door that consists in an opening animation toogled by pressing the E key, which activates a boolean property. Although it works well, if you press E again in the middle of the animation quite fast after the first press, the animation glitches and resets. However if you let some time pass after the first E click, and then click it again, the animation seems to connect good with the reverse one. What should i do in order to fix this?

Hi and welcome to BA.org. To get the best help, you might want to try posting this question up in the game engine support section of this forum, since it’s a game engine problem and not an animation or rigging problem…

Randy