Bug With character Animation Loop

Hello All !
i am working on my first third character controller with animation :stuck_out_tongue:
all the controller is fine but i got a little problem with animation … they got a bad loop ,
at the end of the animation my models got disformed or distortion idk :face_with_spiral_eyes: and the animation restart so its not looking cool.

Btw my models and animation are exported from ( wow models viewer) a extractor of world of warcraft models
… yea i know its for private use … im only testing for learning :smile:

Here a video if you want to see what i mean :

Thanks everybody ! :sunglasses:

UP !

are you using the @ naming convention or using animation splitting in one file?

I’d say import the model into an editor and scrub the animation yourself and see what the frames look like at the beginning and the end. At one point in the animation it looked like the character was going into the T-Pose so I am assuming that the bind pose is prepended to the animation and the loop you got goes fro 0 to 50 where it should be going from 1 to 50 or something like that. I’d say, don’t trust the numbers, rather check for yourself what is going on and set it accordingly.

I once got a model that listed the frames for each animation and one animation was out by like 60 frames. Possible problem 1.

In my personal experience, when I did one motion from frames 1-30 and then did the next motion from 31-60, when I went back and looked at the first one it was all distorted because the limbs I set keys on in the second motion I hadn’t set keys on during the first motion so those keys messed up the first one. I had to go in and set keys for each and every limb on the start and end frame to make sure it worked correctly. Possible problem number 2. Perhaps the ripping software doesn’t set enough keys and thus the animations don’t work as expected in other programs.

Possible solutions:

  1. Open the file in Blender or Maya or Max or whatever and see for yourself what the animation looks like if you look at it one frame at a time.
  2. Just change the values in Unity, 1 frame at a time either from the beginning or end, then alternate then redo until you finally got the right frames (might take 5 minutes might take 5 days… very touchy feely iffy kind of modding)
  3. Just forget using those models and start using models you will be able to use for real. TS has some for free, Arteria sells his for just over $10 a pop… even I have one for sale (but I’m expensive :P)

Definitely the problem is with your keyframes not being done properly or your selected frames not being correct. If it is the former then changing one frame at a time in Unity will take you 5 days of struggling to realise that Unity can’t solve this issue for you. If it is the latter then you can just change your values in Unity and never need to open the model in any other editor… but if you are like me and don’t like to struggle, then opening up the editor would save you hours or days of frustration… Go with that option or get yourself a decent model, even if it is free. In fact, check out the asset store, Mixamo has a couple of free characters in there…

Good luck