Flint Particle System Forum - Problem setting individual particle rotation 2012-05-26T05:35:30+01:00 http://flintparticles.org/forum/ Lussumo Vanilla & Feed Publisher Problem setting individual particle rotation http://flintparticles.org/forum/comments.php?DiscussionID=553&Focus=1892#Comment_1892 2012-03-06T23:39:22+00:00 2012-05-26T05:35:30+01:00 evo http://flintparticles.org/forum/account.php?u=553 Hey again, I'm having an issue using the twoD Rotation initializer. What I'd like to happen is for each new particle created in this emitter to have a random rotation (which is what I assume this ... Problem setting individual particle rotation http://flintparticles.org/forum/comments.php?DiscussionID=553&Focus=1896#Comment_1896 2012-03-26T02:43:01+01:00 2012-05-26T05:35:30+01:00 czyky http://flintparticles.org/forum/account.php?u=594 It looks like there are Rotation calls in the ExplodingImage 2D demo. Have you tried that? It might do what you are looking for. Problem setting individual particle rotation http://flintparticles.org/forum/comments.php?DiscussionID=553&Focus=1905#Comment_1905 2012-04-16T19:49:30+01:00 2012-05-26T05:35:30+01:00 Richard http://flintparticles.org/forum/account.php?u=1 emitter.addInitializer( new Rotation( 0, 2 * Math.PI ) ); The two parameters are the maximum and minimum rotation of the particles, in radians. A random number between these values will be chosen ... emitter.addInitializer( new Rotation( 0, 2 * Math.PI ) );

The two parameters are the maximum and minimum rotation of the particles, in radians. A random number between these values will be chosen for each particle.]]>
Problem setting individual particle rotation http://flintparticles.org/forum/comments.php?DiscussionID=553&Focus=1907#Comment_1907 2012-04-17T15:33:04+01:00 2012-05-26T05:35:30+01:00 Antoine http://flintparticles.org/forum/account.php?u=607 While we are rotating...is it possible to set the rotationX/rotationY/rotationZ of 2D particles? Or would I need to implement 3D particles to achieve this? Problem setting individual particle rotation http://flintparticles.org/forum/comments.php?DiscussionID=553&Focus=1910#Comment_1910 2012-04-19T22:34:06+01:00 2012-05-26T05:35:30+01:00 Richard http://flintparticles.org/forum/account.php?u=1 Hi Antoine That's not implemented in the set of initializers included with Flint, but you could create a custom initializer to do it - it would be quite simple, similar to the Rotation initializer ...
That's not implemented in the set of initializers included with Flint, but you could create a custom initializer to do it - it would be quite simple, similar to the Rotation initializer but with two more axes.]]>