Flint Particle System Forum - Problem setting individual particle rotation2012-05-26T05:35:30+01:00http://flintparticles.org/forum/
Lussumo Vanilla & Feed Publisher
Problem setting individual particle rotationhttp://flintparticles.org/forum/comments.php?DiscussionID=553&Focus=1892#Comment_18922012-03-06T23:39:22+00:002012-05-26T05:35:30+01:00evohttp://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 rotationhttp://flintparticles.org/forum/comments.php?DiscussionID=553&Focus=1896#Comment_18962012-03-26T02:43:01+01:002012-05-26T05:35:30+01:00czykyhttp://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 rotationhttp://flintparticles.org/forum/comments.php?DiscussionID=553&Focus=1905#Comment_19052012-04-16T19:49:30+01:002012-05-26T05:35:30+01:00Richardhttp://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 rotationhttp://flintparticles.org/forum/comments.php?DiscussionID=553&Focus=1907#Comment_19072012-04-17T15:33:04+01:002012-05-26T05:35:30+01:00Antoinehttp://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 rotationhttp://flintparticles.org/forum/comments.php?DiscussionID=553&Focus=1910#Comment_19102012-04-19T22:34:06+01:002012-05-26T05:35:30+01:00Richardhttp://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.]]>