Message 1 of 2
Creating & Snapping Group Pivots to Joints
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Im trying to use a loop to create group nodes for each finger joint and snap their pivots to the joints. Here is what I have so far. It needs work:
FJoints = cmds.ls(“L_R*”, type=“joint”)
for jnt in FJoints:
joint_position = cmds.xform(jnt, q=True, ws=True, t=True)
groups = cmds.group( em=True, name=‘null1’ )
cmds.MatchTransform(groups, joint_position)