Export bones animation with fcurve datas

Scripting in Blender with Python, and working on the API

Moderators: jesterKing, stiv

Post Reply
Posts: 0
Joined: Thu Aug 29, 2013 4:54 pm

Export bones animation with fcurve datas

Post by melaugui »


I'm trying to export every changes of a simple bone animation, without success...

for each keyFrame of my animation, I'm getting :
- a Position vector
- a Rotation quaternion (Euler)
- a Scaling vector
which are extracted to an array with this code :

Code: Select all

for fcurve in myActionAnim.fcurves:
Problem is : how to create one 4x4 matrix with all those values to export it correctly ?
If you know how to help...


Post Reply