added index2 for walk and kick interaction.