Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 02-06-2004, 12:27 PM   #1
Hanuman
Registered User
 
Join Date: Aug 2003
Location: Auroville, India
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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...
Hanuman is offline   Reply With Quote
Old 02-06-2004, 03:01 PM   #2
kbrown
Moderator
 
kbrown's Avatar
 
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
Thanks: 0
Thanked 8 Times in 8 Posts
Default

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!
kbrown is offline   Reply With Quote
Old 03-06-2004, 12:20 PM   #3
Hanuman
Registered User
 
Join Date: Aug 2003
Location: Auroville, India
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thank you for the help - much appreciated!
__________________
A conscious power has drawn the plan of life...
Hanuman is offline   Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem solving many dynamic objects in a pile? rohiniduggal Dynamics & Special Effects 3 14-01-2011 07:26 PM
apache environment problem andrew_sorensen Simply Maya Tutorials 4 08-12-2010 03:48 PM
Strange Problem - Unable to change attributes for multiple objects anthonysw3 Technical Issues 4 04-12-2010 11:56 PM

Thread Tools





A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.