Flint Particle System Forum - Use gravity and rotation toghether?2010-12-26T16:22:13+00:00http://flintparticles.org/forum/
Lussumo Vanilla & Feed Publisher
Use gravity and rotation toghether?http://flintparticles.org/forum/comments.php?DiscussionID=190&Focus=735#Comment_7352009-03-17T15:52:59+00:002010-12-26T16:22:13+00:00girazhttp://flintparticles.org/forum/account.php?u=171
Hi All
First of all my compliments Richard - FLINTS looks very promising.
I've just started using FLINT so here is my dummy question:
Let's say I start from the snow example and I want to ...
First of all my compliments Richard - FLINTS looks very promising.
I've just started using FLINT so here is my dummy question:
Let's say I start from the snow example and I want to make it snow from a small could. addInitializer(new Position(new LineZone(new Point(-50, 0), new Point(50, 0))));
then I rotate the emitter depending on the cloud rotation: on enter frame: _emitter.rotation = _cloud.rotation;
How can I correctly apply the gravity and speed to the particles so that all the snowflakes will keep on going down after an initial movement in the direction of the emitter?
Also I was wondering, is it possible to change the color of the new particles from time to time without effecting the older ones already visible?
Thanks!
Cheers Riccardo]]>
Use gravity and rotation toghether?http://flintparticles.org/forum/comments.php?DiscussionID=190&Focus=736#Comment_7362009-03-19T10:31:54+00:002010-12-26T16:22:13+00:00girazhttp://flintparticles.org/forum/account.php?u=171
anyone?
I was thinking of converting the fountain example in 2d and then see how close I can get adding the rotation
I was thinking of converting the fountain example in 2d and then see how close I can get adding the rotation]]>
Use gravity and rotation toghether?http://flintparticles.org/forum/comments.php?DiscussionID=190&Focus=737#Comment_7372009-03-20T07:49:49+00:002010-12-26T16:22:13+00:00Richardhttp://flintparticles.org/forum/account.php?u=1
You need to add downward acceleration to the snow to make it turn to move downwards, and probably some drag to stop it going too fast. Add to that a ColorInit initializer to set the color. Changing ...
acceleration to the snow to make it turn to move downwards, and probably some drag to stop it going too fast. Add to that a ColorInit initializer to set the color. Changing the color property on this initializer will alter the color of new particles without affecting those already created.]]>