Move a Character in MotionBuilder to the World’s Center with Python

‎With a dozen takes in my Motionbuilder scene and my Character placed at different locations on each take, I decided Python would help me move my Character to the World’s Center. With raw Mocap data your Character’s Wold Position is all based on the Actors position within the volume...

Running a Python Script On Every MotionBuilder File Within A Directory

It’s been awhile since I have posted, We are approaching launch of my next game tittle and now that I have a free moment I thought I would demonstrate how to run a python script on multiple “.fbx” files. All the “.fbx” files for this demo will exist within...

Using MotionBuilder Python to Find Your Current Character’s Hip

In this post we will go over selecting the Character’s hips through python – this method can select any valid body/object within your scene just by replace the search string from “Pelvis” to “the desired objects name“. I created a post a while back that would allow the user...

Re-visting MotionBuilder’s Python Dir()

In a previous post I briefly talked about the dir() command within python. The dir() command is an invaluable tool when trying to discover valid attributes. This is going to be a very quick post on how I have been using the print dir() command to list out attribute...

Using MotionBulider and Python to create a Take Renaming Tool

I’ve used Take Renaming tools in the past and I’ve always found them to be an amazing time saver, so when I sat down to think about what I would like to learn next in my Motionbuilder Python Scripting adventure I knew that writing my own Take Naming Tool...

Finding a Character’s NameSpace with MotionBuilder Python

Here is a snippet of script that I use a lot when dealing with Character’s Name Spaces within MotionBuilder. I often split the LongName to provide me with the NameSpace, I find it cleaner to read when I print it out – which I do often to ensure my...

How to use functions with MotionBuilder Python

Using functions will save you from re-writing and maintaining many of the same lines of code over and over. What is a Python Function? “A function is a block of organized, reusable code that is used to perform a single, related action. Functions provide better modularity for your application...

MotionBuilder’s Constraint system and Python.

MotionBuilder’s Constraint system is a must for animators. Weather you are rigging, transferring data or animating – you will want to use a Constraint system to make your life easier. Let’s see how Python can access MotionBuilder’s Constraint system. Using Python to set up a Constraint system in MotionBuilder...