How do I get individual particle coordinates after I have used createParticle();
I need to use these coordinates for various things.
I also need to deliver an impulse or velocity to these individual particles.
How do I do this? I’m using LiquidFun, Libgdx and Java
Thank you
If anyone’s interested, to get the coordinates, you have to use
float particleCoordinateX = mParticleSystem.getParticlePositionBufferX[i];
float particleCoordinateY = mParticleSystem.getParticlePositionBufferY[i];
where i is the particle array number
Continuing on from my previous question.
How do I add to the individual particle velocity?
If anyone’s interested, to get the coordinates, you have to use
float particleCoordinateX = mParticleSystem.getParticlePositionBufferX[i];
float particleCoordinateY = mParticleSystem.getParticlePositionBufferY[i];
where i is the particle array number
Continuing on from my previous question.
How do I add to the individual particle velocity?