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 29-10-2006 , 09:00 PM
farbtopf's Avatar
Subscriber
Join Date: Jul 2005
Location: London
Posts: 520

particle rotation

hi, i've got particles instanced with a piece of geometry. An expression control the rotation -and they totate nicel in x y and z. Unfortunately now I only need them to rotate around one axis. Is there a way of somehow locking, say y and z and having them only rotate around x?

any help would be niceuser added image

thanks

# 2 29-10-2006 , 09:49 PM
Dann's Avatar
Registered User
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Yes. I'm not sure what your per particle attribute is callde, but it could look something like this.

rotPP += <<0.5, 0, 0>>;

# 3 30-10-2006 , 01:37 AM
farbtopf's Avatar
Subscriber
Join Date: Jul 2005
Location: London
Posts: 520
thank you very much. That realy helped me! I am just beginning to learn how expressions and mel work. This might be an absolute beginner question, but the << at the beginnig and end indicated that it is a vector?

# 4 30-10-2006 , 01:38 AM
Dann's Avatar
Registered User
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
That's correct. Then each number separated by a comma correlate to <<x, y, z>>, or if you are using th vector for color info <<r, g, b>>

# 5 30-10-2006 , 10:47 AM
farbtopf's Avatar
Subscriber
Join Date: Jul 2005
Location: London
Posts: 520
thanks again user added image

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