c4d.modules.character.CAJointObject

Definition

class c4d.modules.character.CAJointObject

Inheritance

Members

CAJointObject.__init__()
Return type:c4d.modules.character.CAJointObject
Returns:The new joint object.
CAJointObject.GetBone()

Get the bone data for this joint:

m, len = cajointobject.GetBone()
Return type:list[Matrix, float]
Returns:The matrix and the length of the bone.
CAJointObject.GetWeightTag()

Get the weight tag corresponding to this joint:

weight = cajointobject.GetWeightTag()
if not weight: return

print weight["op"] #c4d.BaseTag
print weight["index"] #int
Return type:dict{op: BaseTag, index: int}
Returns:The weight tag and the index of the tag.