Maya for 3D Printing - Rapid Prototyping
In this course we're going to look at something a little different, creating technically accurate 3D printed parts.
# 1 02-06-2004 , 11:27 AM
Registered User
Join Date: Aug 2003
Location: Auroville, India
Posts: 62

particleShape node worldCentroid problem

completed the Candle Flame tutorial from the ****** Workshop site, and have difficulty with the following instruction:

"You will want the point light to move around with the flame, so connect the WorldCentroid attribute of the particleShape node to the Translate vector of the Point light."

I tried doing this in the Connection Editor, but when I load the particleShape node it does not list "worldCentroid". I then looked this up in the Help and it says: "The worldCentroid attribute consists of worldCentroidX, worldCentroidY, and worldCentroidZ You can use compound attributes with MEL commands such as setAttr."

I tried creating an expression like:
pointLight.translateX = particleShape.worldCentroidX;
but this gives an error.

would love to get some help on this!

Also, to make the pointlight flicker, what is the best method:
1. expression for the light's intensity; or
2. mapping an image sequence to the light color; or...?


A conscious power has drawn the plan of life...
# 2 02-06-2004 , 02:01 PM
kbrown's Avatar
Moderator
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
You need to display the non-keyable attributes in the connection editor (under left display menu) to list that worldCentroid.


Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!
# 3 03-06-2004 , 11:20 AM
Registered User
Join Date: Aug 2003
Location: Auroville, India
Posts: 62
thank you for the help - much appreciated!


A conscious power has drawn the plan of life...
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads