Open
Description
Hey!
I am trying to align the transform of one node to another, but have got to a point where I can't see a way forward.
Here is my function:
def align_transforms_x(node1, node2):
"""
Align the transform of node2 to node1
Args:
- node1: The target node.
- node2: The node to align.
Returns:
None
"""
node1 = cmdx.encode(node1)
node2 = cmdx.encode(node2)
transform = node1.transform()
# this method does not exist:
node2.set_transform(transform)
Is there something I am missing?