I am trying to implement animation in my engine and I`ve noticed that if controller contained ordered bones (like they present in skeleton) then, animation work fine, but if boned unordered, then I receive kust a mess of polygons.
So, I decided that I need to sort controller bones, but I after that I still doesnt received satisfying result - model is still becomes a mess of triangles.
So, I think I must do something else - may be I need to sort joint-weights pairs?
And do I need to do something with mesh, attach to this controller?
Could someone, please, point me on the right way?