I have duplicated a ton of leaves and placed them all over my tree. When I select the leaves, I want to add a little randomness to their Z axis so some leaves stick up slightly while others stoop down. I select them all (Ive tried branch selection and tree selection; there is an irony there but theres no time...) and enter the following into the Z rot box:
r(-35, 45) +
This randomises the position of every selected object
Now, I first had nurb leaves; a single grid with a texture map + alpha. I made the tree and did this random function and it worked great. No problem; except for the 5 minute rendering time per frame for a simple tree. So I decided to convert the objects into polygons instead. I did so, and had to re distribute new leaves across the whole of the tree.
After doing this, I selected them all, added the random function to the Z axis but to my utter disgust, it caused some of the leaves to tilt onto their sides. I know why it does this. It does it because when I rotate a leaf on the Z axis, it also changes the X and Y axis data because they aren't aligned to the world axis. As I am only changing the Z axis data, the object doesn't rotate corectly because the X and Y axis stays the same. BUT, it seemed to work fine for the Nurb leaves.
What is the solution? Can anyone help? Does anyone know what I just said?
Cheers, Knick Knack