In a game I am making for class, the player can swing their sword at enemies. The arm with the sword is separated from the base player with a collision box around the swing. However, when the player is stationary and the sword collides with something, it interrupts the animation- Walls, solid, platform enemies. It works fine when the player is moving, though. Any ideas?