# Random particle rotation

11 November 2007
Random particle rotation

Hi

Trying to find out how to work out the random rotation of particles. Basically for 100 particles I want each one of them to rotate (pendulum) arround 1 axis. Should be random for each particle and shoulw be animated. Something like spin but not a full rotation.
Attached Images
 part_rot.jpg (24.9 KB, 24 views)
__________________
Pixel wrangler.

 11 November 2007 grury Portugueezer   portfolio Carlos Santos 3D Supervisor | Visual Fx Artist Generator Post Helsinki, Finland Why dodnt u do the pendular animation on the instanced objects themselves and then choose animated mesh on the settings and animation offset keying __________________ WebSite CGPortfolio Photos Flickr share quote
 11 November 2007 MihaiPocorschi Pixel Wrangler   portfolio Mihai Pocorschi TD / Compositing Amsterdam, Netherlands Because that's not really random. It's the same animation (same rotation limits) every time for each particle although it's offset. With 500 particles there are bound to be particles that have the same animation. So i was thinking something more random. Like choosing each time a different limit .... from -15 to 14 ..... then back to -10 then jump to 8 then to -15 and so on and so forth. really randomize stuff. Also .. the time it takes from one extreme to the other should be fairly random... one particle may take 5 frames for that another might take 20 frames. also if there's a way of having a nonlinear transition between extremes would be great. if anybody has any ideas or could point me into the right maxscript direction would appreciate it. __________________ Pixel wrangler. share quote
 11 November 2007 grury Portugueezer   portfolio Carlos Santos 3D Supervisor | Visual Fx Artist Generator Post Helsinki, Finland well u could easly do the animation on a petal, use a noise controller on the axis u want the rotation, give it a value between -15 n 15, then clone the petal 10 times, change the seed on each one, group them n use the group elements as your instanced shape. Not that hard I guess. But obviously if theres a script out there that does that for u, then all the better. __________________ WebSite CGPortfolio Photos Flickr share quote
 11 November 2007 MihaiPocorschi Pixel Wrangler   portfolio Mihai Pocorschi TD / Compositing Amsterdam, Netherlands Thanks for the sugestion. Yes I did think about that but that comes down to rand(10 animations) i really wanted something that's somewhat procedural in method in order to achieve more randomness. If I can't find another solution I think I'll go with the shape anim. __________________ Pixel wrangler. share quote
 11 November 2007 nan1203 New Member Yanan Wu Arlingon, USA Hey Did you eventually find out a solution? I'm trying to do exactly the same thing on the rotation only it is for the inital position of the particles. I found something that may help though I have 0 knowledge of maxscript. I'm still trying to figure out...if you figure out can you plz let me know? Here's a script that I thought may help... http://www.orbaz.com/forum/viewtopi...924419e39bc4b49 Thanks Originally Posted by MihaiPocorschi: Thanks for the sugestion. Yes I did think about that but that comes down to rand(10 animations) i really wanted something that's somewhat procedural in method in order to achieve more randomness. If I can't find another solution I think I'll go with the shape anim. Last edited by nan1203 : 11 November 2007 at 05:20 PM. share quote
 11 November 2007 MihaiPocorschi Pixel Wrangler   portfolio Mihai Pocorschi TD / Compositing Amsterdam, Netherlands @ nan1203 due to time constraints I was forced to stay with that solution (animating the instanced objects by hand). Probably when I'll have more free time I'll look at it __________________ Pixel wrangler. share quote
 11 November 2007 CGTalk Moderation Expert 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. share quote

 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 CGSociety Society of Digital Artists www.cgsociety.org Powered by vBulletinCopyright ©2000 - 2006, Jelsoft Enterprises Ltd.