animation loops popping hideously

Hi guys…

I’ve got a character with some animations. a bunch of them in fact – 1,000 frames worth in a maya file.

I’ve imported the animations fine, and everything works more or less okay, but some of the looping animations are popping… and not just glitching like the bones might not be lined up properly, the whole character is glitching out and shifting slightly for a frame. it’s very ugly looking. hideous, even.

I have a suspicion that this might be because my filesize is so large. i have an animation at the beginning of the file (frames 0-100) that is playing and looping fine. however, there’s an animation quite later in the scene that is giving me grief.

any ideas?

If the animations are popping at the end of the frame sequence, is it possible that a frame or two of the following animation is being added in at the end? There is a character animation page in the docs which shows how to set the frame spans of animation sequences during the import process - incorrect extra frames at the end of the sequence can be trimmed off within Unity.

hey andeeee, thanks for the reply

I’m sure that i have the frame numbers set up correctly. I even changed the start and end numbers just to make sure that unity wasn’t screwin’ with me.

any other ideas?

It doesn’t look like the animation is jumping to an extra frame… it looks somewhat different… like the animation pose is correct, it just jitters for a second, as if you were to take the cog of the model and offset it or something. buuutt the animation in maya is poifect.

I had something kinda similar and I found a good way to test out how Unity had interpreted the animations was to drop the character into a scene and choose one of the animation clips from the animation component. You’ll see the keyframes for that animation appear down in the unity timeline. Now you can scrub through it in the unity and see if anything looks wrong with the ranges of your animation clip.

This wont fix your problem though, just help you find out where it is.

I think framerate might have something to do with it too but i’m not sure.

interesting… thanks petey, i’ll give it a shot.

tomorrow, though. i’m going to bed. it’s 2:30 over here.