Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import bpy
- from math import pi
- from math import radians
- from random import randrange
- CurrentThingy = 0
- for CurrentThingy in bpy.context.selected_objects:
- bpy.context.scene.objects.active = CurrentThingy
- DRAGON = randrange(1, 4)
- bpy.ops.transform.rotate(value=((radians(DRAGON*90)), axis=(1, 0, 0))
- bpy.ops.transform.rotate(value=((radians(DRAGON*90)), axis=(0, 1, 0))
- bpy.ops.transform.rotate(value=((radians(DRAGON*90)), axis=(0, 0, 1))
Advertisement
Add Comment
Please, Sign In to add comment