... when changing animation state.
Observed behaviour The animation runs perfectly fine until it changes the state. For example when running and then changing back to idle, the legs stay in the last frame of the run animation instead of going back to the idle position. This happens during all animation state changes.
Expected behaviour The animations should be played completely as expected for all bones.
What I did: I am using the platform pro "pugin in" to control the animation. But after checking back with the autor of the plugin this seems not to be a platform pro issue. The animations are done in Spine -> exported and used as bone driven mechanim animation in Unity.
What I tried to fix it. - In the animatior component I changed the update and culling modes. - Unchecked/Checked the 3D Bridge checkbox that ensured that each animation is played for at least one frame - Tried all 3 modes for the layer mix modes. It is now on normal.
The video is quite small and the legs are a bit hard to see. But it should still be visible that the legs do not update properly. Thank you for your help.
UPDATE:
I reset the camera to get a better view and I figured out that even the idle animation at the beginning does not play properly. I guess its overwritten by the falling animation state that is used at the very beginning.
Loading Image
Oh, by the way. You can ignore the orange robot character, its the template character from platform pro I am using as a helper.
10 Dez 2015, 15:15
I spent another day finding a solution for my problem. I re rigged the character several times and one point I even had a working version. I tested this Spine export with the exact same unity scene and it worked, but it does not work with the other versions.
I really would like to understand this problem because it will haunt me in the further development. And the one version that is working is not properly set up, its just a test version and the rig does not work properly. So I have to redo it at least once but I have to understand what is going on to be able to do that. So if you have an idea, please help me out! This makes me crazy and costs a lot of development time right now.
Here is a new video that shows the working version (first version) and the not working version (second version).