paya.runtime.parts.FkChain#
- class FkChain(groupNode)#
Inheritance
Part
PartBase
Trunk
Stub. 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.downAxis
upAxis (str) – the axis to map to the up vector; defaults to
paya.config.upAxis
tipMatrix/tm – an optional rotation matrix override for the tip (end) joint; if provided, only orientation information will be used; defaults to
None
opposite (bool) – flips the (resolved) down axis; defaults to
False
parent (
None
,str
,Transform
) – an optional destination parent for the chain; defaults toNone
- Returns
The generated chain.
- Return type
Chain