How do I set particles location?

Hey guys, I have a problem. I have an particle emitter attached to a spatial, and when I move the spatial I want to move all the parcticles with him not only the emitter. For example a plane reaction. How do I do that?

I think this should happen if you set:

[java]

ParticleEmitter.setInWorldSpace( false );

[/java]



Details:

  • Set to true if particles should spawn in world space.

    *
  • If set to true and the particle emitter is moved in the scene,

  • then particles that have already spawned won’t be effected by this
  • motion. If set to false, the particles will emit in local space
  • and when the emitter is moved, so are all the particles that
  • were emitted previously.
1 Like

yey, thank you, problem solved