Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from pymel.core import *
- import random as random
- for i,o in enumerate(ls(sl=True, type='transform')):
- random.seed(i)
- # change the numbers in the end to what ever you want to!!
- o.rotateX.set(random.uniform(0,0))
- o.rotateY.set(random.uniform(0,0))
- o.rotateZ.set(random.uniform(0,0))
- o.translateX.set(random.uniform(0,0))
- o.translateY.set(random.uniform(0,0))
- o.translateZ.set(random.uniform(0,0))
- o.scaleX.set(random.uniform(0,0))
- o.scaleY.set(random.uniform(0,0))
- o.scaleZ.set(random.uniform(0,0))
Add Comment
Please, Sign In to add comment