Rig and Animate a Rigid Body Creature

by michael.khoury in Circuits > Art

3404 Views, 10 Favorites, 0 Comments

Rig and Animate a Rigid Body Creature

DRun.gif
dino_colorBG.jpg

This instructable steps through the basic setup of a character or creature made of solid rigid bodies attached to a skeletal structure to be used in animation.

In this case I am working with Tinkerplay, which has numerous snap together creature parts that you can assemble in the app and pose in various ways. The steps I've outlined show how to export parts out of the app and into a 3d program of your choice to play around with and bring to life.

I've also attached an .FBX file of this Dino as I've assembled it. The file has all the parts needed to assemble the dino body as well as a skeleton, weighting and a basic run animation.

Also here's the link to the anim on Sketchfab; which is supporting animations!

https://skfb.ly/GXQT

Downloads

Export Parts From Tinkerplay

dino_tppose.jpg
dino_Tp.jpg

Use the Tinkerplay interface to download the files for the Dino

They are saved out as .STL files, you will need to convert these to .OBJ format to be readable by most 3d animation software programs.

Convert Parts to .OBJ Format

dino_skeletonMesh.jpg

I used Meshmixer to convert the files from STL to OBJ

Import Meshes Into Any 3D Animation Software (Maya)

dino_skeletonleg.jpg
dino_skeletonBody.jpg

Import all the meshes into the program and move them around and rotate them into position to build up your creature.

Do not scale anything, only use rotate and translate to position the parts, ensuring that the balls and sockets are used to orient the parts to each other.

Create Animation Skeleton (rig)

dino_skeletonXray.jpg
dino_skeletonlegShaded.jpg
dino_skeletonlegShaded_2.jpg
dino_skeletonlegXray.jpg
  1. Create a joint at every ball and socket intersection location, use the center of the ball and socket holes as the location for the joint. This joint location will be the pivot point about which your part will rotate and move from.
  2. Build the entire skeleton this way, making sure to name each joint.

Weight Mesh to Skeleton

dino_weighting.jpg
  1. Weight each part entirely to a single joint, all vertices of that part should be weighted to a single joint.
  2. You can alternatively just parent the mesh part to that particular joint instead of using vertex weighting. Since this is a rigid body animation either will work.

Animate!

dino_skeletonXray.jpg

You are ready to animate! In my .fbx example file I created a few IK (inverse kinematic)handles to move his upper torso, legs, and tail independently.

I set keys at every 6 frames of a 24 frame timeline to create a quick run cycle.