SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 29-10-2006, 08: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, 08: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, 12: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, 12: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, 09: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
New Thread

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.