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
2
votes
2 answers

Unity3D - How to have continuous particle emission?

I've recently upgraded my project to 5.6.1f1. I have a homing missile that tracks a target, and has a particle system attached to it to simulate the smoke. Before I upgraded the project, the smoke worked well. I had a continuous supply of particles…
Tom
  • 2,372
  • 4
  • 25
  • 45
2
votes
1 answer

Modifying SCNParticleSystem colors in an SCNParticleEventBlock doesn't work

Given the sample code provided for handle(_:forProperties:handler:), the following block should turn green particle red, but doesn't: [system handleEvent:SCNParticleEventBirth forProperties:@[SCNParticlePropertyColor] withBlock:^(void…
2
votes
0 answers

QuadTree for a 2D particle System

I have programmed a Quadtree for detection of collisions between particles in my 2D game. The code works but it is not very fast. Especially the retrieve() function. Being a beginner in c ++, if you have tips to optimize my code, it's will be…
Joezzz
  • 79
  • 9
2
votes
0 answers

OpenGL c++ Transform Feedback values do not update

We are currently working on a GPU Particle System. Something on my implementation is wrong, it seems the Buffers do not get updated or drawn to. I would be very grateful for any help! Particle system init: Particle…
2
votes
1 answer

Threejs Particle System with joining lines. Programming logic?

Based on a previous question I had recently posted: How to create lines between nearby particles in ThreeJS? I was able to create individual lines joining nearby particles. However, the lines are being drawn twice because of the logic of the…
Awin
  • 261
  • 1
  • 9
2
votes
1 answer

Three.JS - Particles orbiting a point in random directions forming a sphere

I have a particle system where all the particles are positioned at the same coordinates and one after another, in random directions, they (should) start orbiting the center of the scene forming a sphere. What I managed to achieve until now is a…
2
votes
2 answers

SceneKit - How do I attach a particle emitter to a node in a scene using the Xcode editor?

I can't figure out how to attach my particle emitter to a node in my scene using the Xcode editor. The documentation says 'You can attach a particle system to a node in the Xcode scene editor to preview the particle system in your scene.' I know how…
2
votes
1 answer

Sprite Particle System animation in viewController

I create a macOS single window application and add a Sprite Particle System file with template Stars. and the visual effect just like this: And I want to add it to my viewController, as the guide of this answer, I got the result like this, and it…
HamGuy
  • 916
  • 1
  • 7
  • 18
2
votes
1 answer

Understanding the "Struct" in Unity ParticleSystem

The code below is working, "Particle" is an instance of class "ParticleSystem". "Particle.emission" is a get-only property return struct "ParticleSystem.EmissionModule" "em.rate" is a property, the type is struct…
Developer
  • 133
  • 2
  • 10
2
votes
1 answer

Particle system is seen as black from certain angles

I created a particle system that should act as a spaceship's vehicle fire. I've added it in a node loaded from a COLLADA file (made with Blender): let engine = _spaceship.childNode(withName: "Engine", recursively: false)! let engine_pSystem =…
Ramy Al Zuhouri
  • 21,580
  • 26
  • 105
  • 187
2
votes
1 answer

Spawning GPU Particles

I'm working on my first game engine, and trying to implement a GPU particle system. I've implemented one on the CPU before, but now I'm trying to make it more efficient. My problem, specifically, is with spawning particles on a lifetime. Since I'm…
2
votes
1 answer

Unity: Change Particle System to pooling

I'm trying to change my particle system function to a pooling instead of instantiating everytime. I want to reuse the particles. How is that possible? I have no idea how to start although i watched the unity tutorial but somehow it's still unclear.…
John
  • 141
  • 4
  • 12
2
votes
1 answer

Particle system behaviour different for game objects consisting of several gameobject components

I have a 2D game. I have game objects that are made of a singular shapes with colliders and some that are made out of several shapes and included in an empty game object to which I have added a character collider. All the game objects have…
user3956566
2
votes
3 answers

Particle animation for iOS

I'm in need of particle animation in my UIView-based 2D game. At present I'm using an array of images for particle animations. This makes my app size increase, and sometimes leads to memory leaks. Is there is any way to make particle animations…
KingofHeaven
  • 1,195
  • 3
  • 14
  • 27
2
votes
1 answer

libGDX - particle effect tool importing to android studio

I would like to ask if it is possible to use libGDX particle effect tool if you didn't tick it on project setup at the beginning. I am using AndroidStudio.