Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Dynamics & Special Effects (https://simplymaya.com/forum/forumdisplay.php?f=33)
-   -   particle rotation (https://simplymaya.com/forum/showthread.php?t=23673)

farbtopf 29-10-2006 09:00 PM

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

Dann 29-10-2006 09:49 PM

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

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

farbtopf 30-10-2006 01:37 AM

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?

Dann 30-10-2006 01:38 AM

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>>

farbtopf 30-10-2006 10:47 AM

thanks again :beer:


All times are GMT. The time now is 01:34 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018