Share to

You can earn money or coins from your share:)

Tips: you can use Sparticle for uploading away3D effects.

Tips: you can download Sparticle for uploading effects.

Tips: The ActionScript editor is supporting Away3D, Starling, Dragonbones and Flex frameworks.

Tips: paste the web page URL then click button:) Your Best Source for Gaming
Login    or

Dynamic override acceleration vector

How can I change the acceleration vector in runtime?

For example, I have a wind vector Vector3D(100, 0, 100), and in runtime it can be updated, so, 

how I can apply changes of wind to particle effect? 
Is there a way to do this?


You must Sign up as a member of Effecthub to view the content.

2210 views    2 comments

You must Sign up as a member of Effecthub to join the conversation.

Liao Cheng 2014-03-25

It's a state-less particle system rather than state-accumulated system. If you change the parameter on the fly, you will see some wired behavior.

Liao Cheng 2014-03-25

Hello I think it's not possible in this particle system. This particle system calculate the particle position according to some time-related formula. For example, acceleration: s=0.5*a*t*t; Supposing the current time "t=1", you change acceleration "a" from 1 to 10. And then "s" will leap a long distance from 0.5 to 5.


Or Login with Your Email Address:

Or Sign Up with Your Email Address:
This field must contain a valid email
Password should be at least 1 character