Jump Animation Playback Help

Instead of calculating the time/ max height you could also just read in the character’s z velocity and make note of when this value is less than or equal to zero. This will be at the top of your jump. Then at this point transition out of your jump loop to what you want to play at the top. This would also be slightly more robust since it would result in predictable behavior if something is preventing the character from reaching their “max jump height” - like if they are in a cave or something with a ceiling lower than how high they can jump.