yaotungyu

slide fix rnd

Jul 26th, 2021
909
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #foot unslider
  2. ns = 'Hattie_01'
  3. cmds.spaceLocator(n=ns+'__L_foot_tracker')
  4. cmds.spaceLocator(n=ns+'__R_foot_tracker')
  5. #L
  6. cmds.matchTransform(ns+'__L_foot_tracker',ns+':L_Leg_Foot_Ik_Ctrl',pos=1)
  7. _t = cmds.currentTime(q=1)
  8.  
  9. #frame incremental shift
  10. _t+=1
  11. cmds.currentTime(_t)
  12. cmds.matchTransform(ns+':L_Leg_Foot_Ik_Ctrl',ns+'__L_foot_tracker',pos=1)
  13.  
  14.  
  15. #R
  16. cmds.matchTransform(ns+'__R_foot_tracker',ns+':R_Leg_Foot_Ik_Ctrl',pos=1)
  17. _t = cmds.currentTime(q=1)
  18.  
  19. #frame incremental shift
  20. _t+=1
  21. cmds.currentTime(_t)
  22. cmds.matchTransform(ns+':R_Leg_Foot_Ik_Ctrl',ns+'__R_foot_tracker',pos=1)
  23.  
RAW Paste Data