public void animateKick() {
		if (scenarioCompleted)
			return;

		float moveDistance = (appliedPower * 10);
		float moveLeftRight = 0.5f / 90.0f * (100.0f / 90.0f * appliedDirection);
		float moveForward = 1.0f - moveLeftRight;

		powerRemaining -= 0.01f;

		ballImage.percentageFromEnd -= moveForward / 20;
		ballImage.currentScale -= (100 - ballImage.getPercentageMoved()) / 40000.0f;
		if (powerRemaining > 0)
			ballImage.height -= powerRemaining * (8 - (ballImage.startingFromEnd / 100 * 4));
		else {
			ballImage.height += 1;
			if (ballImage.height >= 400 - (200 / ballImage.percentageFromEnd)) {
				scenarioCompleted = true;
			}
		}
		setKickingPosition(getKickingPosition() - moveLeftRight / (50.0f + ballImage.getPercentageMoved() * 2));
		System.out.println(ballImage.getPercentageMoved());

	}