PDA

View Full Version : rotation expression troubles


bendingiscool
10-31-2007, 01:30 PM
Hi,
I'm trying to create an expression to make my instanced objects (simple disc shapes) rotate randomly as they fall. I have added a general PP attribute, but when I try this expression:

particleShape1.rotPP = rand (0,360);

I get an error saying :

Warning: Expression Editor: no particle object is selected.

This means that I can't go on to connect the rotation expression to the rotation of the disc shapes.

Any clues on what I have done wrong?

(I am following a falling leaves tutorial, but simply changed there instanced geometry to mine for a project I am working on).

Any help very much welcome, Cheers in advance.

Chris

ashishdantu
11-01-2007, 04:18 AM
hi bendingiscool,

ya this is a common issue.. when you select the particle in your viewport, maya selects the transform node right ? but when you open the AE, it displays shapenode correct ? if not, shift to shape node and then hit the select button in the Attribute editor (bottom of the AE) for the shape node and then try doing the create expression...

CGTalk Moderation
11-01-2007, 04:18 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.