Questions tagged [particle-system]

The term particle system refers to a computer graphics technique that uses a large number of very small sprites.

The term particle system refers to a computer graphics technique that uses a large number of very small sprites.

Particle systems include fire, explosions, smoke, moving water (such as a waterfall), sparks, falling leaves, clouds, fog, snow, dust, meteor tails, stars and galaxies, or abstract visual effects like glowing trails, magic spells, etc.

For more details: Visit

560 questions
4
votes
1 answer

FPS lowering issue while using Cocos2D Particle Effects in CCTouchesMoved

This is the code I have been using in CCTouchesMoved for producing Particle Effects in the touching locations. But while using this FPS is dropping to 20 while touches is moving! I have tried lowering the life and duration of particles (you can see…
ShinuShajahan
  • 1,296
  • 2
  • 11
  • 20
4
votes
2 answers

How to fix: NullReferenceException: Do not create your own module instances, get them from a ParticleSystem instance

I'm trying to make a script so that on a button press the particle system changes to a certain color, it all works fine apart from changing the particle color, when I try it comes up with this error: NullReferenceException: Do not create your own…
Mistyisty
  • 113
  • 1
  • 1
  • 6
4
votes
1 answer

Damping a spring without affecting gravity

I implemented a spring particle system in OpenGL, where a particle B is constrained to A, with given offset distance. Particle B is affected by spring force and gravity. Here is the implementation: vec3 velocity; float k = 1.0f; float damping =…
Lenny White
  • 406
  • 4
  • 8
4
votes
2 answers

SKEmitterNode not working when setting numParticlesToEmit to non-zero in Xcode?

There is no code to present since we're using Xcode to define the value for numParticlesToEmit for a SKEmitterNode. Specifically, we use the Maximum property next to the Birthrate property for the Emitter section. The Birthrate property is set to…
Crashalot
  • 33,605
  • 61
  • 269
  • 439
4
votes
2 answers

Properly play Particule System component?

How can I properly play the particle system component, which is attached to a GameObject? I also attached the following script to my GameObject but the Particle System does not play. How do I fix this? public Transform gameobject1; public Transform…
user5622430
4
votes
1 answer

Unity3D Particle System Particles Not Following Rotation

Using version 5.2.3f... I have a HeadLookController script that finds a Vector3 to rotate my models head bone to look at. I have a Particle System on a child GameObject of the head bone. The Particle System is set to emit in World Space. However,…
David Rosen III
  • 117
  • 2
  • 10
4
votes
2 answers

Why does not my particle system collision work?

I have added a particle system where I have checked the collider option and added a world particle collider. See the image below. In the script that is attached to the particle system I have: void OnParticleCollision(GameObject other) { …
Rox
  • 2,647
  • 15
  • 50
  • 85
4
votes
1 answer

Rendering Point Sprites across cameras in cube maps

I'm rendering a particle system of vertices, which are then tessellated into quads in a geom shader, and textured/rendered as point sprites. Then they are scaled in size depending on how far away they are from the camera. I'm trying to render out…
4
votes
1 answer

Libgdx - how to rotate the emmition trail of a 3d particle

I have encountered a problem while using libGDX 3D particles. I wanted to change the direction the particles are being emitted. I tried effect.rotate(new Vector3(0, 1, 0)); when my particle starts at point (1, 0, 1), and the emission goes towards…
Fish
  • 1,689
  • 1
  • 18
  • 28
4
votes
1 answer

GL_POINTS obscuring each other in particle simulation

I have a fire simulation, containing a large number of textured GL_POINTS. Each particle has a transparent background, and when facing the fire from certain angles, the blending works correctly. However, viewing it from other angles shows the…
Fitzy
  • 1,871
  • 6
  • 23
  • 40
4
votes
2 answers

How to remove an CAEmitterLayer?

I'm playing with particle system in iOS using CAEmitterLayer (like in this example) but i can't remove the particles when i want. I'm trying the following code but it doesn't work: [self.emitterLayer setLifetime:0]; [self.emitterLayer…
Fran Fox
  • 575
  • 1
  • 4
  • 5
4
votes
2 answers

unity3d turn on off particle system

i am trying to turn on and off a particle system i created. I attached it to a prefab. The code I am using is as follows public ParticleSystem waterGun; void Update () { if(Input.GetKey(KeyCode.W)){ waterGun.enableEmission = true; …
Alan Fletcher
  • 283
  • 1
  • 13
  • 24
4
votes
1 answer

Should I use Pools for particles if i forced to re-init every particle every time i create them

I am creating a particle system in XNA4 and I've bumped into problem. My first particle system was a simple list of particles, whose instances are created when needed. But then I read about using pools. My second system consists of a pool, filled…
edwing
  • 81
  • 7
4
votes
2 answers

Little LibGdx trouble loading file

So I have been trying to load a Particle effect file to libgdx and im getting a file not found exception. Heres my code: particleEffect = new ParticleEffect(); …
3
votes
2 answers

DirectX equivalent of glBlendFunc(............)

I created a particle System in OpenGl that's working great. When I want to get a burning effect of a fire or a beam or something(Where the system kind of "glows" and fuses all the colors together) I use this method call with…
Jimmy Bouker
  • 118
  • 1
  • 10
1 2
3
37 38