Doubt with Particle System

Sep 6, 2010 at 10:21 AM

Hello,

             I would like to know how to access the position of the emitter and not each particle in the particle system????

Coordinator
Sep 6, 2010 at 7:39 PM

Do you mean per-particle?

If so, then the emitted position of each particle will likely be different - in which case you will need to use the user0->user3 values per particle to store this info.
If you mean the current position of the emitter, then it would be best to use the 'global' values. Each particle system has 16 global floats you can set, these are accessible with 'global0 -> global15' in the particle system XML script.