|
The object and all its descendants will be rotated according to the given arguments:
degrees: The number of degrees to rotate.
axis: this could be 1 or 2 or 3. Give one for rotating around the X axis. 2 for rotating around the Y axis and 3 for the Z axis
space_flag: OBJECT_SPACE or WORLD_SPACE. If we have chosen for example to rotate around the X axis
this flag determines whether it is the X axis of the object or the X axis of the world.
center_flag: Could be one of the three, CENTER_OF_TOP_OBJECT, CENTER_OF_TREE, CENTER_AS_GIVEN.
This flag determines the center of rotation.
center: this argument is only relevant if the center_flag is CENTER_AS_GIVEN. In this case the point given by this
argument will define the center of rotation.
|