'rot_order',# a triple of indices as to the order rotation is applied. [0,1,2] is x/y/z - [None, None, None] if no rotation.
'rot_order',# a triple of indices as to the order rotation is applied. [0,1,2] is x/y/z - [None, None, None] if no rotation.
'rot_order_str',# same as above but a string 'XYZ' format.
'rot_order_str',# same as above but a string 'XYZ' format.
'anim_data',# a list one tuple's one for each frame. (locx, locy, locz, rotx, roty, rotz), euler rotation ALWAYS stored xyz order, even when native used.
'anim_data',# a list one tuple's one for each frame. (locx, locy, locz, rotx, roty, rotz), euler rotation ALWAYS stored xyz order, even when native used.
'has_loc',# Conveinience function, bool, same as (channels[0]!=-1 or channels[1]!=-1 channels[2]!=-1)
'has_loc',# Convenience function, bool, same as (channels[0]!=-1 or channels[1]!=-1 or channels[2]!=-1)
'has_rot',# Conveinience function, bool, same as (channels[3]!=-1 or channels[4]!=-1 channels[5]!=-1)
'has_rot',# Convenience function, bool, same as (channels[3]!=-1 or channels[4]!=-1 or channels[5]!=-1)
'index',# index from the file, not strictly needed but nice to maintain order
'index',# index from the file, not strictly needed but nice to maintain order
'temp',# use this for whatever you want
'temp',# use this for whatever you want
)
)
...
@@ -72,7 +72,7 @@ class BVH_Node(object):
...
@@ -72,7 +72,7 @@ class BVH_Node(object):
self.children=[]
self.children=[]
# list of 6 length tuples: (lx,ly,lz, rx,ry,rz)
# list of 6 length tuples: (lx,ly,lz, rx,ry,rz)
# even if the channels arnt used they will just be zero
# even if the channels aren't used they will just be zero