Maya Training

Creating characters In Maya and Zbrush

Maya Training

Creating character renders in Maya 2017 and Arnold

Maya Training

Spach-Alspaugh House the complete courseware
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 29-10-2006, 09:00 PM   #1
farbtopf
Subscriber
 
farbtopf's Avatar
 
Join Date: Jul 2005
Location: London
Posts: 520
Thanks: 0
Thanked 1 Time in 1 Post
Default 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 nice

thanks
farbtopf is offline   Reply With Quote
Old 29-10-2006, 09:49 PM   #2
Dann
Registered User
 
Dann's Avatar
 
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Yes. I'm not sure what your per particle attribute is callde, but it could look something like this.

rotPP += <<0.5, 0, 0>>;
Dann is offline   Reply With Quote
Old 30-10-2006, 01:37 AM   #3
farbtopf
Subscriber
 
farbtopf's Avatar
 
Join Date: Jul 2005
Location: London
Posts: 520
Thanks: 0
Thanked 1 Time in 1 Post
Default

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?
farbtopf is offline   Reply With Quote
Old 30-10-2006, 01:38 AM   #4
Dann
Registered User
 
Dann's Avatar
 
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts
Default

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>>
Dann is offline   Reply With Quote
Old 30-10-2006, 10:47 AM   #5
farbtopf
Subscriber
 
farbtopf's Avatar
 
Join Date: Jul 2005
Location: London
Posts: 520
Thanks: 0
Thanked 1 Time in 1 Post
Default

thanks again
farbtopf is offline   Reply With Quote

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-2017 SimplyMaya - vBulletin® Copyright © 2000-2017, Jelsoft Enterprises Ltd.