Constant anim keys in x file export

Hi,

I have a skeleton character that export almost correctly to an X file. The mesh, bone, and animation templates are all ok but the animation keys for my left arm shouldn’t be constant (and they are in the x file).

In Blender IPO window, the curve for the left arm is fine (ie not constant), so I assume that I’m missing a details somewhere. I spent most of the morning trying different combinations without success.

Any help would be appreciate.

-daniel

must have a 3d window visible on screen in order
to update the scene every frame.Like in the examples:
http://xoomer.virgilio.it/glabro1/python241.html

Ben

A big thank you.

That was it, since everyelse was fine I suspected that it had to be a detail.

While trying to fix this problem, I started to study your code for the exporter, and I was puzzled by this segment:

ip_bon = Blender.Ipo.Get(ip_bon_name)
poi = ip_bon.getCurves()

for po in poi[3].getPoints():
a = po.getPoints()
point_list.append(int(a[0]))

What is special about the “3th” IPO curves associated with a bone?

-daniel

:smiley: :smiley: hehe nothing…
I need to get the keyframes from a curve and its
more frequent for a bone to have a Rotation curve(RotX
the third one).

Ben