You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want my particles emitter emission from bottom to top direction, and I found example activity "Emit with Gravity" similarly, so I changed the code below to made it emission with 270 angle:
new ParticleSystem(this, 100, R.drawable.star_pink, 3000)
.setAcceleration(0.00013f, 270)
.setSpeedByComponentsRange(0f, 0f, 0.05f, 0.1f)
.setFadeOut(200, new AccelerateInterpolator())
.emitWithGravity(arg0, Gravity.TOP, 30);
But the result is the particles first little down then emission from bottom to top. How should I do to avoid that little down?
The text was updated successfully, but these errors were encountered:
I want my particles emitter emission from bottom to top direction, and I found example activity "Emit with Gravity" similarly, so I changed the code below to made it emission with 270 angle:
But the result is the particles first little down then emission from bottom to top. How should I do to avoid that little down?
The text was updated successfully, but these errors were encountered: