Crea sito

Free stuff made with Blender!

[BGE] Animated characters with the CookieFlexRig in Blender Game Engine

Category : BGE · by Sep 15th, 2013

Selezione_034In this video tutorial I show how the Cg Cookie Flex Rig can be adapted to work flawlessy into the Blender Game Engine.

The Cg Cookie Rig can be found here and is released for free under Creative Commons Licences


At First you need to Hide the shapes of the rigging system, they are into the Alt-1 and Alt-0 layer, you can do this following those steps:

  • select them enabling only the Alt-0 layer and pressing A key to select all the content of the layer
  • press M key to choose in which layer they should stay and select the Alt-0 one

keep them only into the Alt-0 layer and then hide this layer to be sure you don’t delete them accidentally


Here it is the video, below you’ll find the text version for a faster reading


Text version

General simplification

With layers 1,2,3,4 and Alt-1 visible, go into wireframe mode and do a Border select to all the objects

Cg Cookie Flex Rig BGE



Invert the selection with Ctrl+I and delete the objects that are now selected, those are some link that prevent the model from running into BGE in pre 2.68 Blender versions

Cg Cookie Flex Rig BGE




Select Every mesh of the model, included eyebrows, eyes … and delete the Subsurf modifier

Cg Cookie Flex Rig BGE


Which character

The next steps depend on which type of mesh you are editing and the purpose of your character.

After having defined and customized the character it will be necessary then to choose how to act:

  • If you are going to simplify meshes like dress, shoes and hair, then any deformation of the shape keys is no longer needed and can be removed.
  • If you’re simplifying body (face) or eyebrows probably you’ll have to decide if you want to keep the shape keys to give the possibility of facial expressions in the game or if you can overlook the facial expressions, thus keeping only the ability to move your jaw and close eyes, and then remove the keys

Simplification by removing Shape Keys

Go into Object Data and enable Apply shape key in edit mode button, and then from the drop down menu on the black arrow select New Shape from mix

Cg Cookie flex rig BGE

Cg Cookie flex rig BGE


Now remove every Key starting from the Basis (the first), be careful, the key you have just created must remain as the last available key, after this you can delete it

Cg Cookie flex rig BGE


After the removal process of the shape keys you can apply the Mask Modifiers, but only if the modifier has the visible Eye button pressedSelezione_042


After removing the mask modifiers, if there is any into a mesh, there may be warp modifiers, which often significantly change the shape of the mesh and can not be neglected.
To remove these modifiers you must apply them as shape keys

Cg Cookie Flex Rig BGE

Then go to the Shape keys panel in the Object Data and increase their value to 1.

Cg Cookie Flex Rig BGE

At this point you can delete them from the shape keys as seen previously

Simplification by keeping Shape Keys

if you prefer to keep the shape keys, you can remove the Mask modifiers invisible (with the eye button deselected) from the stack and take note of the vertex group into the active Mask modifiers, then delete those modifiers too. In this case the interested vertex groups are MSK-clothes5  and MSK-shoes2 (this one with the Invert function)

Cg Cookie Flex Rig BGE

Go into the Vertex Group panel in the Object Data, switch to Edit Mode, scroll down to the involved vertex group and press Select



Now since the group of vertices(MSK-clothes5) represents a mask, we must eliminate the unselected vertices, invert the selection with the appropriate command and then remove the selected faces



For the MSK-shoes2 vertex group, the process is the same but since its modifier has the invert option enabled, we didn’t need to invert the vertices.


Connecting the Armature

The last but most important step is to connect the armature compatibly with the Game Engine. To accomplish this we should remove the Quat modifier if present and edit the Linear Modifier from:





Now the last step is parenting the mesh to the armature. Go into the Object panel and in Relation tab select “rig” from the Parent menu and Armature from the type of parenting:



Now you can make your animation and use them within the Game Engine with this fabulous characters tool that is Cg Cookie Flex Rig!

It works also on the web with the Burster plugin (

It Wooooorks!




Lascia un commento

Il tuo indirizzo email non sarà pubblicato.


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>