paya.runtime.parts.FkChain#
- class FkChain(groupNode)#
 Inheritance
PartPartBaseTrunkStub. Right now, it only implements
createChain().- classmethod createChain(points, upVector, downAxis=<undefined>, upAxis=<undefined>, tipMatrix=None, opposite=False, parent=None)#
 Thin wrapper for
paya.lib.skel.Chain.createFromPoints().- Parameters
 points (
list[list[float] |Point|Vector]) – a world position for each joint; at least two points are requireddownAxis (str) – the ‘bone’ axis; defaults to
paya.config.downAxisupAxis (str) – the axis to map to the up vector; defaults to
paya.config.upAxistipMatrix/tm – an optional rotation matrix override for the tip (end) joint; if provided, only orientation information will be used; defaults to
Noneopposite (bool) – flips the (resolved) down axis; defaults to
Falseparent (
None,str,Transform) – an optional destination parent for the chain; defaults toNone
- Returns
 The generated chain.
- Return type
 Chain