School of Motion

Rig and Animate 3D Characters with Mixamo in C4D

  • By Leigh Williamson
  • Share

In this article we will show you how to quickly rig, add motion capture data, and apply extra hand-keyframed animation to your 3D character with C4D & Mixamo.

Whether you are a C4D veteran, character animation kungfu master, or animation newbie you will always have a wave of obstacles facing you. Whether it's time restrictions or lack of character animation & rigging skills.
Nobody has ever said that character animation is easy. Whether you're a C4D veteran or animation newbie you will always find new challenges when working on 3D character animation. However, I recently found a tool that can make the 3D animation process in Cinema 4D much easier... Mixamo!

What is Mixamo?

Mixamo is a 3D company based out of San Francisco. In 2015 Mixamo was acquired by Adobe and has since been integrated (in part) with the Creative Cloud. In the context of this article we will be looking specifically at Mixamo's online database of 3D motion tracking animation data. Mixamo has over 3,000+ motion tracked animations that you can quickly use for 3D projects. This data can be easily applied into humanoid biped characters for quick animations.
Will this data completely replace the need for kefyramed character animation? Absolutely not! But, Mixamo does have the power to save your a ton of time and give you quick data that can be manipulated in post. It is especially helpful for background characters or any character movement where custom-movement isn't essential for storytelling. Depending on the project this workflow could save you dozens, if not hundreds, of hours.
So you can hold off on renting the ping-pong ball suit, for now...

Animating a 3D Character with Mixamo

In this breakdown, I will show you how to use Mixamo data to quickly create a character animation in Cinema 4D. First, download the project file to follow along!
Collection

Download the Mixamo project assets.

Download the project
Now that the project file is downloaded, let's take a look at our finished animation.

skate_fall_preview_960x540_v2.gif

Starting Your 3D Animation Project in Mixamo

Before we get started with animating your 3D animation project in Mixamo, you will first need a character to map your motion capture onto. Your options are:
2. Use Adobe Fuse CC (beta) to custom build your character
3. Model your own in character in C4D

mixamo_fuse_orc4d.jpg

Modeling your own character in C4D

We will be going with option 3. Why? Because the beauty of Mixamo is that even if you are very bad at modeling in C4D, Mixamo more than makes up for this. In conventional 3D modeling you would need to build a character with one single mesh. With Mixamo you are able to draw separate body parts, line them up and boom, Mixamo applies an individual weight map to each body part. Your only requirement is to design your character as a humanoid biped and to allow for enough segments, so that the limbs can bend and pose your character in a T-pose. Arms & fingers straight apart and spread out. Legs straight and unbent too.

I've modeled my own character, now what?

After you've modeled your 3D character you can follow the process below.
  1. Save your character.c4d file as an .obj file - File/Export/Wavefront OBJ (*obj)
  2. Open Mixamo from your web browser.
  3. Sign in FREE with either your Adobe Subscription or create an account.
  4. Click "upload character" and upload your character.obj file
  5. If Mixamo accepts your character, you will be able to click "next".
  6. Follow the instructions and place markers where instructed. Floating markers will result in an error and Mixamo will reject it and you will start again. If your character is fingerless, click on the dropdown menu labelled standard skeleton (65) and choose No Fingers (25)
  7. Click next and it should take 2mins to rig your character
  8. Click Animations and choose animation. For this exercise we will animate a skaterboy who runs, jumps, skateboards and then falls flat on his face.
  9. Search each action individually, click on it and customise your animations to suit your requirements.
  10. Download each action individually.
  • Running.fbx
  • Jump.fbx
  • Skateboarding.fbx
  • Fall Flat.fbx

Mixamo_website.jpg

Importing into Cinema 4D

Now it's time to take all of that data into Cinema 4D!
  1. File/Merge and locate your Running.fbx
  2. Click ok on the FBX import setting panel
  3. Click mixamorig:Hips in your objects panel. It's the layer with the green joint symbol
  4. Click Menu/Add Motion Clip and label it Running and then click Ok. This will bake your keyframes into a Motion Clip.
  5. Press Shift F3 to open your Timeline (Dope Sheet)
  6. Click View/Motion Mode.
  7. On the left there will be a library with a single bake animation labeled Running. It's already also on your timeline. If you can't see anything on your timeline press View/Automatic Mode (Alt+A)
  8. By baking the animation to a Motion Clip you have unlocked a whole new set of options to editing your animation. Now in the motion clip's attribute panel you will have the option to add loops to your animation and even decide where to start and end your animation without even touching a keyframe!
  9. If you intend to load in more than one animation you will need to first save your running bake by right clicking running in your library and choosing Copy Motion Source. Be sure to create a MotionSource folder to save it into. It will save out as running.c4dsrc
  10. Next select all your layers in the object menu and group them in a null (ALT+G) and label it character.
  11. Repeat and load in the other FBX files individually, baking the animate as before and saving out skating.c4dsrc, jump.c4dsrc, skatingboarding.c4dsrc & fallflat.c4dsrc. Each time you import .fbx files in, it will load in the full character. Once you have exported out all your .c4dsrc files you can delete all the extra character layers. You only need the original rig in the null labeled character.

timeline_A_2.jpg

Let's Animate!

Right! Now you have all the baked animations, just drag them onto the timeline in the order you would like them to animate in.
  1. Drag one animation over the top of another animation and you will notice it it frame blends the ending of the 1st animation into the beginning of the 2nd animation another. OOOoooo! You can change blending interpolation to linear on the Attributes panel under Basic on the Blending dropdown menu. Change from Easy Ease to Linear.
  2. To move each animation individually into position you need to create Pivot Objects and parent it to the animations.
  3. Press Animate/Pivot Object. Label it Running. Select the running motion clip on your timeline. Under Attributes/Basic drag the new Pivot Object from your Objects layer in the Source field. Create a pivot object for each animation and parent them. Group (Alt+G) all pivot objects in a folder named Pivot Objects.

pivot.jpg

Adding props to your character

I created two props for our skaterboy. A helmet and a skateboard. How we parent these props to our character depends on how we are going to use them.
1. Parenting the helmet
  • untwirl mixamorig:Hips on the object panel
  • untwirl mixamorig:Head
  • untwirl mixamorig:HeadTop_End
  • Drag the helmet layer below mixamorig:HeadTop_En in the hierarchy
  • Select helmet layer. Then go to the attributes and select Coord. tab and zero out all the values. Now the helmet will share the exact space as the head rig. If it's not totally in-line, just position the helmet until it fits the head perfectly.
2. Parenting the skateboard
  • Now I intend to move the skateboard from the boys hand, to the floor when he jumps and then to his foot when he skates and then back to the floor when he falls. (animated gif joke)
  • You will need to use constraint tag to achieve this
  • Create floor a primitive plan
  • Select the skateboard group it (alt+G) and call it skateboard_no_rotation. Select skateboard_psr and go to the Objects menu and select Tag/Character Tags/Constraint
  • A pin symbol will appear on skateboard_psr layer.
  • Double click the pin.
  • The skateboard will wiggle at all angles of the character's joints. So we want to constraint any rotations from happening. So under the basic's tab you will check the box parent. Then under the parent tab you will check the box R (rotation). Now since the floor is the only thing not moving, create a null and call it floor.null and position in the same y position as the floor. Lets use it as a target by dragging the floor.null object into the target field. Now the skateboard won't wiggle about.
  • Then next step is to group it again (alt+G), name it skateboard_psr and add another constraint tag to the upper most null name skateboard_psr.
  • Double click the pin, under the basic tab check the box PSR (position, scale, rotation).
  • Under the PSR tab in the targets dropdown press add 4 times. (to create 4 target feilds)
  • Drag mixmorig:LeftHand object into the 1st field (check box P & R)
  • Drag mixmorig:LeftToe_End object into the 2nd field (check box P & R)
  • Create a null called skateboard_on_floor a drag it into the 3rd field (check box P & R)
  • Create a null called skateboard_fall drag it into the 4th field (check box P & R)
  • Now to move the skateboard from the kid's hand, to the floor, then to the foot & back to the floor when he falls all you have to do is animate the weight radio button from 100-0 to unparent it, and from 100-0 on then animate at the same time the new parent from 0-100.
  • If for any reason your psr tag is not sticking, set your priority number up to a value over 100. It could be something like a generator (ie subdivision surface. Anything with a green symbol) preventing it from sticking. If that is the case change the priority dropdown menu from Expression to Generators.

psr.jpg

What if I don't want the arm to move while running? I'd also like the arm to hold the skateboard.

Well aren't you being picky?... That's no problem at all.
1. Go back to motion mode in your animation timeline
2. Select the running clip in your timeline
3. Under the Hierarchy tab untwirl running in the source view
4. Uncheck all joints to do with the arm you want to edit. mixmorig:LeftShoulder, mixmorig:LeftArm, mixmorig:LeftForeArm & mixmorig:LeftHand.
5. Now under your Objects panel untwirl Mixamorig:Hips until you find the left arm and rotate the joints. Now that the joints are unparents from the pre-animated rig you can keyframe and animate the arm.

Hierarchy.jpg

When the boy pushes on his skateboard his foot doesn't quite touch the ground. Can I fix this?

1. Untwirl the Mixamorig:Hip rigg again in the object panel.
2. Select RightUpLeg + RightLeg + RightFoot + RightToeBase
3. Go to the Coord. tab press F9 to record all the PSR (position, scales and rotation)
4. Move the foot to the floor. and press F9 again to drop another keyframe for it's new position. Beware that this foot is now forever in this new position you placed it in. So don't forget to scrub forward and drop a new keyframe and record it's new resting position too. To make life easier use F & G to strub back and forward on the timeline. You don't want to be an ass like me and keep pressing spacebar just to play the animation to move to the next keyframe.

foot.jpg

When my character's bends the mesh kinks. How do I fix this?

There two factors to bear in mind when your mesh deformers incorrectly. Either there aren't enough segments for your character to bend. Or the weight map needs smoothing.
  • To add more segments to the leg - select the leg in the objects layer, hold down ALT on the keyboard and select subdivision surface. In the subdivision surface attributes panel up the number of the subdivision editor & renderer to 2 or 3. The higher the number the more segments will be added.

subdivision_v2.jpg
  • To smooth the weightmap of the chest - double click the weight expression tag to the right of the chest layer in the objects panel. In the attributes panel of the weight map under the tab options change the mode to smooth and increase the radius of the brush to a higher value to make your brush bigger. You will notice the chest of your character is covered in colors. Each separate color represents where the character can bend. Just brush over the gradients and soften the harsh gradients. As the gradients softens, so will the mesh of the character's geometry.

weightmap_v2.jpg

Boom! You're Done!

This tutorial might have been tougher than you expected. If you are new to C4D I'd recommend doing C4D Basecamp by the awesomely talented EJ Hassenfratz. I have personally greatly benefitted from C4D Basecamp and in only 6 months I went from 3D newbie to creating online 3D education content! Imagine what you could do with your new found powers?
Want to know more about constraint tags? EJ has two top great tutorials here: Techniques Rigging Robot Arm & Using Constraints & Deformers to Place and Deform Objects Along a Surface in Cinema 4D
Want to know more about painting weight maps? Chris Schmidt has a fantastic tut: Rigging and Animating Whaley.


I learned this Rigging and animation technique from the legend Steve Teeple. Check his playlist Mixamo to Cinema 4D Character Workflow on Cineversity.
Also checkout the amazing Stuart Wade who draws fantastic 3D characters with simple primitives. He also hugely inspired me with his experimentation in Mixamo.
Here's the free project file if you want to poke around.