Maya instancer particles wobble instead of rotate/spin

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  07 July 2013
Maya instancer particles wobble instead of rotate/spin

Hey guys. I've searched the net and I can't seem to find the answer anywhere... Ive been using all the standard rotPP code

most of my particles rotate, but some of my particles "wobble" almost as if they are gimbal locked or something. Here's my code:

nparticle1.RotPP = <<rand(360),rand(360),rand(360)>>;
//ive also tried "= rand(360);"

runtime before dynamics:
nparticle1.RotPP += <<3,3,3>>;
//ive also tried "+= 3;"

is there maybe a rotation order on the instancer node that helps with this? thanks!
  07 July 2013
The problem is you are adding rotations every frame in all axis. You need to pick a direction like so.

Creation: nparticle1.RotPP = <<rand(360),rand(360),rand(360)>>;
Runtime: nparticle1.RotPP += <<0,3,0>>;

If you want to randomly pick an axis to rotate around you would need to assign a variable that gives each particle a random number between 0 and 2 and write in your runtime expression an if statement that will assign a different axis of rotation based off that attribute.

Example Rotations
My Homepage
My Vimeo Channel

Last edited by hkspowers : 07 July 2013 at 01:17 AM.
  07 July 2013
Thanks man!! that's a great idea. Thanks for the file
  07 July 2013
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

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
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 10:44 PM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.