Animations importing correctly for most models, though some (acklay and human) are very wrong and others have one or two incorrect bones (at-at). Bones are imported as is and not made to look pretty in order to preserve animation ease. Letting users import cleaned up skeletons while preserving original transforms via some sort of context-menu addon might be worthwhile...
This commit is contained in:
@@ -8,7 +8,7 @@ def vec_to_str(vec):
|
||||
return "({:.4},{:.4},{:.4})".format(vec.x,vec.y,vec.z)
|
||||
|
||||
def quat_to_str(quat):
|
||||
return "({:.4},{:.4},{:.4},{:.4})".format(quat.x, quat.y, quat.z, quat.w)
|
||||
return "({:.4},{:.4},{:.4},{:.4})".format(quat.w, quat.x, quat.y, quat.z)
|
||||
|
||||
def add_vec(l: Vector, r: Vector) -> Vector:
|
||||
return Vector(v0 + v1 for v0, v1 in zip(l, r))
|
||||
|
||||
Reference in New Issue
Block a user