Hi,
Unity3d 2.5 Pro won’t let me Split Animation in the Editor. The animation file just disappears. While in Unity3d 2.1 it works perfectly.
So now I’m using a script to start and loop the animation:
function Update () {
animation.wrapMode = WrapMode.Loop;
animation.Play();
}
But I would still like to Split the Animation into walk idle. How do I do that?
Thanks
Works fine here… Are you on OSx or windows?
Do you get any errors in the console?
What type of file are you importing? Maya? FBX?..
Hi,
In on OSX and I imported a Cinema4d mesh+animation.
When I try to use Split Animation I get these errors:
ImportFBX Errors:
Time range for take ‘C4D Animation Take’ on node ‘Spine’ is too big: 2147483647 > 100000.
Time range for take ‘C4D Animation Take’ on node ‘Hip’ is too big: 2147483647 > 100000.
Time range for take ‘C4D Animation Take’ on node ‘right_leg’ is too big: 2147483647 > 100000.
Time range for take ‘C4D Animation Take’ on node ‘r_hip’ is too big: 2147483647 > 100000.
Time range for take ‘C4D Animation Take’ on node ‘r_knee’ is too big: 2147483647 > 100000.
etc.
When I change the import settings without adding a ‘split’ I don’t get any errors.
The script I’m using actually works fine, but I don’t understand the correct way of using the addClip function.
I should add that I also tried ‘baking’ all the objects and exporting as FBX. Still no luck…
I have no experience with Cinema4D, but just to be sure, what range of frames are you using when you try to split the animation?
Did you try maybe using only frames 0-5 of the animation just to test if it throws those errors as well?
Are you baking your animation to the root or into the nodes of the object? Can you maybe post of a screenshot of your import settings for that animation?
You mean that you still get the same errors? Or you just couldn’t get the animation to import properly? If you post the FBX with the animation I can try and import it on my workstation and play with it a little to see what happens.
Yes, I still get the same errors using the FBX and baking the objects as suggested by Unity:
http://unity3d.com/support/documentation/Manual/HOWTO-ImportObjectCinema4D.html
Attached is my C4D model and an FBX export.
136426–5015–$animan_126.zip (403 KB)
I’m getting the same error with the tutorial. Tried importing with Maya and exporting fbx but get same result. The animations play fine in Maya. I get the same error with the completed 3ps tutorial.
Maybe you can try attaching a script component to the character and split the animations using AddClip.
I’ve just started using the method here - because when animation lists build up over several characters, this makes maintaining things so much easier.
Hope that might help.
animation.AddClip(animation.clip, "alert", 0, 66, false);
animation.AddClip(animation.clip, "combatIdle", 105, 204, true);
animation.AddClip(animation.clip, "flyBackwards", 449, 521, false);
Did anyone here ever find a solution to this? I’m having exactly the same problem, see this topic.
http://forum.unity3d.com/viewtopic.php?t=24655