I just want to make 360º rotation to a camera and when i tell Blender to Render or Aminate, it crashes.
I’m using this code with a camera Parented to an Empty:
import Blender
from math import *
em = Blender.Object.Get (“Empty”)
r = 1 # angle in degrees i wan’t to rotate
conversion = r * (2 * pi / 360)
em.RotZ = em.RotZ + conversion
Blender.Redraw ()