Help exporting an animation with Yabee.


I may be a bit thick, but I just don’t understand how to export animations from blender with Yabee. I read the Yabee thread, but it’s not very organized and I just don’t get it.

I have something simple (I think): a door that opens.

Click for high-res, so that you can see how I named my anims/actions and all.

Can I export this anim to egg? How?

I do see “animation only” and “separate animation files” in the options of Yabee but I don’t know how to use them. Also, what should I put in the “Animation” listbox?


no you cant.

yabee, just like the old chicken exporter, requires you to have all animation done with armatures, or shapekeys.

that is due to panda’s egg format which doesn’t store animated node-transforms.

add an armature , add 2 bones to it, assign each door to a bone (using an armature modifier), animate the bones, and then you should be able to export an animated door.


Thanks! Working on that now :slight_smile:.


If you get into problems, feel free to upload your blend and we’ll take a look at it.


Thank you, I’ll take that offer :smiley:.

I am having some troubles indeed: the door doesn’t show in my world. I’m using an Actor to display it, I can see the walking panda from the tutorial, but not my door next to it.

  • I added an armature with two bones, one for each half-door.
  • I made the half-doors children of the bones with a constraint.
  • In pose mode, I created two keyframes for each bone: closed and open. When I play the animation in blender it looks nice.
  • I exported the half-doors and the armature with yabee. I have a “door.egg” with a couple of joints plus the door meshes, and a “door_open.egg” with tables containing the interpolated angles for the 20 frames of the animation.

My door doesn’t have a material yet, and usually it shows in pure white. But when I load it as an Actor, it doesn’t show at all.

Here’s the blend file:
It may have lost its materials since I link them from a library, but the rest should work.

What did I break again?


I think I found the error.
Try to use an armature modifier instead of a constraint.

For testing I suggest pview:

pview -lc door.egg -a door_open.egg

The -l makes pview pop up immadiately and load your model afterwards. -c is same as pressing c in pview - it puts your model in the center of view. The -a flag allows you to specify an animation file.

To actually see it shaded, press “l” (small L) in pview.


Yes! We’re getting somewhere. It’s better, but it’s still wrong.

Good news: pview does show me my two half doors opening, woo!
Bad news: when I press the pause button, then only one of the two doors stops and the other keep opening forever. Furthermore, the title written above the controls reads “door_left”. It makes sense because the play/pause buttons control the left door, but what about the disobedient right one?

Bad news 2: In game, the behavior is different. I see the right door only. It is properly animated though, like the panda I threw there for comparison.

Here’s the blender file, version 2:

The egg file shows two groups, one per door. Each door has joints for the two bones, but only one of these has vertices. The file looks quite good actually: it’s very symmetrical so I’m surprised not to see both doors working the same way.

Is it behaving weirdly because I use two different meshes? Is it a case of multi-part actor?


Yes, usually you’d use a single object with two meshes inside. For the issue with parts not being visible: are you sure you selected everything in your scene before exporting?


I did select everything. I suspect this was because I had several objects while Panda expects only one.

I don’t know how to make several meshes inside a single object. However, I got things to work by Joining my two doors. I have only one mesh, but by affecting each half-mesh to its own vertex group, the export almost worked. I still had to hack into the egg to delete joints that were present twice, but it works now.

I’ll look into having two meshes into one object, because the way I’m doing it isn’t super handy.

All of that will seem so obvious after the fact…


For the record, I managed. Just quoting myself to make it more visible to the future visitors:

I don’t know why Yabee exported four joints. Maybe because there are two vertex-groups, and two joints, therefore 2x2=4? I had two identical “door_left” joints and two identical “door_right” joints, so I just removed the duplicates with a text editor.

Important note:
When I joined my two doors into one single mesh, I first did it with the doors in closed position. That created problems: Panda realized that some vertices were at the same place, and it simplified the geometry, fusing the two half-doors together. Because of that, opening the doors resulted in a rubbery surface stretching from one door to the other as they opened. Yuk.

To solve that problem, I made the rest (default) position of the door opened: panda can not simplify that geometry since there is no overlap between the two doors.