Search Unity

Combining animations, workaround needed....[solved]

Discussion in 'Scripting' started by monark, Jul 15, 2009.

  1. monark

    monark

    Joined:
    May 2, 2008
    Posts:
    1,496
    Ok so I have a lot of animations all exported into one fbx file and when I split them up in Unity I hit a problem, the further through the sequence I go the more I hit accuracy errors.
    So for example I have a clip that starts on frame 929 and ends on 978 but when I play this clip and loop it the first frame "pops" some of the objects are basically moved to the wrong place.
    If however I write out an fbx which is only 50 frames long with the same animation in it and then play that in unity the "pop" is gone. So it doesn't seem like a problem inherent in the fbx file but in either the way it is split or the way a long animation file is played back.
    I have sent this off as a bug but in the meantime I need a way to remove the popping.

    Is there a way to combine animation clips from fbx or another format that doesn't require duplicating all the geometry for every clip?
    Or has anyone hit the same problem and found any ways around it?
     
  2. monark

    monark

    Joined:
    May 2, 2008
    Posts:
    1,496
    ok to answer my own question, add some padding. A frame or 2 either side of each clip sorts it out.