Search Unity

Trouble importing PLA and Bone animations from C4D 9.5

Discussion in 'Asset Importing & Exporting' started by modesty_blaise_us, Apr 4, 2006.

  1. modesty_blaise_us

    modesty_blaise_us

    Joined:
    Mar 3, 2006
    Posts:
    12
    Hi!

    I have some trouble importing files from C4D where I use PLA(Point Level Animation) or Animated Bones.

    Point Level Animation:
    Animated PLA will not show up. Is it even possible to use PLA in Unity?

    Animated Bones
    When I import files with these into unity through an FBX(6.0) file they change. It is difficult to explain, but it seems that I only get the first half of the animation. The animation still loops though. So instead of a walking animation I get a very lame kick, which repeats over and over.

    Does anyone know how to do this properly?

    Is this even the right board to adress this?
     
  2. modesty_blaise_us

    modesty_blaise_us

    Joined:
    Mar 3, 2006
    Posts:
    12
    After doing some testing I figured out how to fix this, what I still don't get is why my first animation did not work.

    I am making a walking animation.
    My first test animation was made something like this.


    This one did not work in Unity, but It worked perfectly in cinema 4D.


    This is the version that works.

    As far as I can tell the only difference is that the bones start in a neutral position in the last one. Meaning I did not move the bones before I made the first frame. Does this mean that Unity does not handle animations that start with bones who have been moved to deform an object?
     
  3. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    Please use Report Bug.app and submit the cinema4d files you are trying to export.
    (The ones that export wrong)

    This way i can take a look at it and either fix a bug in Unity or report it to Maxon.
     
  4. tsphillips

    tsphillips

    Joined:
    Jan 9, 2006
    Posts:
    359
    Were the number of frames the same in both examples? It looks like the first one might have had animation set for only half the frames exported.
     
  5. modesty_blaise_us

    modesty_blaise_us

    Joined:
    Mar 3, 2006
    Posts:
    12
    The first animation have the right edge right after the last frame. It is a mistake I did when recreating the animation in a hurry, but certainly not what is creating the trouble I experience.
    I should have posted more of the Timeline..

    Done
     
  6. podperson

    podperson

    Joined:
    Jun 6, 2006
    Posts:
    1,371
    So... did this issue get resolved?

    How do you find working with C4D and Unity w.r.t. character animation?
     
  7. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    The issue was resolved as far as i remember.
     
  8. modesty_blaise_us

    modesty_blaise_us

    Joined:
    Mar 3, 2006
    Posts:
    12
    I think there was something wrong with the FBX exporter from C4D which caused the behavior. It should be fixed in version 9.6.

    I never got around to ask about the PL(point level) animation though. I guess FBX does not support PLA animation.
    Will the new direct import from C4D include PLA?

    As far as character animation in C4D goes, I have good experiences, with the exception of the problem I ran into. Everything else looked just like what I made in C4D. You should be aware that i did not do the most advanced character animation, so there might be issues I am not aware of.
     
  9. podperson

    podperson

    Joined:
    Jun 6, 2006
    Posts:
    1,371
    Are you able to import meshes deformed by bones successfully?

    I read somewhere on the boards that there's a four-bones-per-vertex limit somewhere. Is this true and (a) will it be fixed and (b) how gracefully does it deal with bones in excess of this? (E.g. does it take the four strongest weights and normalise them?)
     
  10. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    Bone based animations has been tested thoroughly for importing from Cinema 4D and works.

    Best thing is that with the upcoming 1.5 release there will be a native .c4d file importer which means no more temporary files and conversion processes. Just like in Maya now.

    The 4 bone limit is handled gracefully, the strongest weights are used and then normalized. Apart from that games usually only use 2 bone weights and it works pretty well.
     
  11. podperson

    podperson

    Joined:
    Jun 6, 2006
    Posts:
    1,371
    Also excellent. Thanks again.

    (Sorry I am spamming the forums so much...)

    I realise that using lots of bones per vertex is generally unnecessary, but I've seen 3d artists do some pretty strange things* and it's always easier if something "just works".

    * Animating seaweed using bones, for example.
     
  12. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    Sure, we are definately planning to support it in the future.
     
  13. Foxxis

    Foxxis

    Joined:
    Jun 27, 2006
    Posts:
    1,108
    Sorry for gravedigging.
    The PLA question never got answered as far as I can tell? Is it supported in any way? If not, is there a workaround?

    Thanks! :)
     
  14. Crazy Robot

    Crazy Robot

    Joined:
    Apr 18, 2009
    Posts:
    921
    Is there a workaround for exporting PLA into Unity? I have an object (non-bones) that I want to use the "Shatter" effect in C4D on.

    The only animation I can get to work when exporting to Unity is just the basic object position (I can do that in unity). How do I get particles, explosions, and other animation that C4D creates into Unity????