Sword animation stops when it hits a wall or wooden object