problem with animation from c4d. help needed.

hy,

i have made an animation in cinema 4d. now i imported the c4d file to unity. and now i made a script, to control the animations.
heres my script

function Update() { 

if ( Input.GetKeyDown("t")){

	animation.Play("los");       
}

}

so if you press t the animation should start. but only some little parts move a bit and nothing else happens.

the c4d file has around 200 frames, but i splitted the animation 12 different clips. i attached a screenshot of the import settings.

anyone has an idea?

i attached the script to the imported object, which should be the animation.

thank you very much

so the problem is mainly, that unity doesnt recognizes the animations i made in c4d. but there are only basic movements. just position changes.

so what have i to do more, that unity recognises the animations?

Are you using IK? Then you need to bake the IK prior to exporting.

Are you using c4d 10.1?

i use r10.008

no, i just use normal position changements, i recorded with autokeying. in cinema, the animation works really fine, without any problems.

I would strongly recommend to upgrade to Cinema 4D R10.1 because there is an issue with 10.0.x fbx exporter.

That upgrade solved all my problems so far. You need to reinstall Cinema 4D before applying the update, otherwise there will be some issues left. Native import of models and animations also work fine with 10.1.

THANK YOU ALPHA LOUP
exactly this was the problem. man, i lost 3 threes of work to find a bug and it was this close and easy.

thank you

:smile: Youre welcome!

Why do you need to reinstall before updating to 10.1? I haven’t seen any official info stating that, nor does it make any sense? I mean, assuming the current install isn’t broken, a fresh install will contain the same stuff?

Please enlighten me. :wink:

All i can tell you is, that it didnt work when installing the update over 10.0.x
Native import still did not work correctly and i got strange animation behavior in the fbx files i exported.
It also happened to some other people here on the forum.

And just to mention… i dont mess with my installations, like trying here and there and install everything that comes in sight.

I have also reinstalled all my modules and 3rd party plugins and still no problems. So it didnt work first, after doing a reinstall it did. Nothing more to worry or spent time thinking about.

i have to say,
that i just upgraded it. i didnt a reinstall.

and it works now without problems.

Then maybe my installation was messed up. Good to know and sorry, if that caused you extra work.

No worries whatsoever - I was just curious as I tend to install over existing apps if they run correctly. Obviously, if problems persist I too wipe the whole app and start from scratch. I just don’t enjoy doing reinstalls that much. :wink:

Cheers,
Dan