spookyboo
25-09-2008 20:51:02
I know I have to post this on the NVidia forum, but I'm having trouble accessing that forum. Maybe someone here can point me in the right direction, before I go into the trial-and-error mode.
I am using straight PhysX without NxOgre and want to create a fluid that is integrated in my particle plugin. There are a few things I don't understand exactly, which aren't described in more detail in the PhysX docs. Its about adding NxParticleData to a NxFluid.:
Am I right that I only have to add a NxParticleData buffer by means of NxFluid::addParticles() once and can add additional particle elements to that buffer and increment the numParticlesPtr value? (until the max size of the buffer).
What happens to expired particles in that buffer? The docs say that the particle is deleted. I assume that it sets the flag with NX_FP_DELETE. Correct?
The previous suggests that I have to remove particles with the NX_FP_DELETE flag manually, or can they be reused by resetting the flag?
I am using straight PhysX without NxOgre and want to create a fluid that is integrated in my particle plugin. There are a few things I don't understand exactly, which aren't described in more detail in the PhysX docs. Its about adding NxParticleData to a NxFluid.: