Tag: Scripts

Stop Foot Sliding With MotionBuilder and Python

Update June 20 2022 –  It’s been a while since I have checked the blog. 🙁 Back in January someone posted a comment asking if i ever updated this script/tool to work with newer MotionBuilders. I have now, sorry for the wait. The fix was a quick change, Motionbuilder...

Using MotionBuilder Python’s FBVector3d() To Create An Animated Align Tool

While exploring MotionBuilder Python’s FBVector3d() I decided I would create an exercise for myself that would be the creation of an Animated Align Tool. Using a constraint and animating the weights will do give similar results, but I thought an Animated Align Tool in MotionBuilder would be a fun little...

MotionBuilder Python Clean Character From Scene with FBDelete()

This is a script that came about while researching and writing examples for my previous post on FBDelete(). This bit of script will go through a number of constructors within the FBSystem() class. Here is a list of the classes in which our list will go through: fb.FBSystem().Scene.Constraints fb.FBSystem().Scene.Handles...

MotionBuilder Python FBDelete

I’ve been asked a few times now on how to delete objects, files, takes, layers, etc. from MotionBuilder’s Scenes. I thought I would take a few moments to go through the basics of FBDelete(). All examples below share pretty much the exact same structure with there scripts, we create...

Copying .fbx Files With Python

  When dealing with a lot of .fbx files we some times have to move them or back them up. Maybe a mocap shot was delivered and you want to move them off a network and on to your local drive to process or maybe it’s the end of...

Returning A Specific Word From MotionBuilder’s Python Dir()

I’m not sure why I did not think of this before, here is a little function that will search a user specified module using dir(), but it will also search the components and only return the ones that match the user’s specified filtered word. Let me explain with an...

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...