def __init__(self):
# Bone name
self.name = None
# Index of the parent bone in the model bones list
self.parentIndex = None
# Bone position in parent space
self.position = None
# Bone rotation in parent space
self.rotation = None
# Bone scale
self.scale = Vector((1.0, 1.0, 1.0))
# Bone transformation in skeleton space
self.matrix = None
# Inverse of the above
self.inverseMatrix = None
# Position in skeleton space
self.derivedPosition = None
# Collision sphere and/or box
self.collisionMask = 0
self.radius = None
self.boundingBox = BoundingBox()
self.length = 0
评论列表
文章目录