Hi everyone,
We have just upgraded from beta to release now that our milestone is completed and have discovered that some of our animations is behaving differently.
Some of our animations are having a bobbing effect.
For example we have a heavy breathing animation for our human character, in beta it worked perfectly but now the character is bobbing forward and backwards as if it is using the displacement of the bones in the chest or something do related with the breathing. This happens in game and in the preview window of the animation in the editor.
Is anyone experiencing any similar problem from changing unity 4.0 beta to final release version?
Thanks for reading.
Does the hip bones affect the movement of the model?
Hi pierrepaul,
The character is humanoid and is on the base layer.
Bobbing meant that the entire model would move up and down whilst the character was moving forward. For example a walk animation, you could see in the preview window in the editor that the feet were going through the floor and in the game the IK would make sure the feet would not pass the floor but animation looked very odd but I think we have resolved the problem now.
Turns out that we were using an older model compared to the animations that are using a newer model but strangely enough their skeletons are the same so technically it should of still worked the same? The only differences is that the new model does not use soft edges and the old mesh had a few missing mesh patches that are now fixed.
Ill try to get a video up and post any more info that could be useful.
Thanks for reading
Where the bones at TStance positionned exactly the same ?
Hey themadme,
On the particular animations that are bobbing, go into your ‘takes’ section that has all the new mecanim controls (Loop Pose, Root Transform Rotation etc.(with all the green/orange/red ‘loop match’ lights)) and go down to the last one → Root Transform Position (XZ) and tick ‘Bake into Pose’ and for 'Based Upon (at Start) → Center of Mass.
I had some bobbing issues too and this was how I solved them! I hope it works for you…if it doesn’t, then try fiddling around with the controls in the ‘takes’ section because that’s most likely where your issue would be! Good luck! 