I am making a 2d fighting game. I cannot get my animations to match up with the timing of the movement of the gameobject. For example, if I have a jump animation that is 24 frames and I am using 24 frames per second then my jump should last 1 second from the time of start up until the character lands. When I add force to the y-axis it cause the the gameobject to move up. But the time it takes for the object to move up and return to the ground may take more than the 1 second to complete. During this time the jump animation has played and the character has entered the idle animation which looks like the character goes into idle mid jump. Is there any way to make it so that if when the gameobject moves the animation will play and match the timing of the physics action?