BlenderのMascotCapsule用BacTraプラグイン
むー、BACの側のHandle(ええと、Roll(クォータニオン)で使うのベクタなのかな?)とRotateがあらぬ値になるなぁ。
# CLSS : BacBone class BacBone: # MTHD : BacBone.__init__ def __init__(self,mat): xx = mat[0][0] yx = mat[0][1] zx = mat[0][2] nx = mat[0][3] xy = mat[1][0] yy = mat[1][1] zy = mat[1][2] ny = mat[1][3] xz = mat[2][0] yz = mat[2][1] zz = mat[2][2] nz = mat[2][3] xt = mat[3][0] yt = mat[3][1] zt = mat[3][2] nt = mat[3][3] self.translate = Mathutils.Vector( xt, yt, zt ) self.rotate = Mathutils.Vector( zx+xt, zy+yt, zz+zt ) self.handle = Mathutils.Vector( yx+xt, yy+yt, yz+zt )
……いいのか、この要素で(^^;)?というか、意図がさっぱり分からない……。
とほほ。ダメだなぁ、自分。