the Particle System is set to simulated in world space, and i manually call simulate function from script, but it works still like in local space , that means the particles are like moving with emitter. i guess the simulate API don't memory the position of emitter ,so it will always simulate from current position , so it still works like local space. has anyone known a solution to make it still work like in world space when manually simulating?
void Update()
{
ParticleSystem ps = this.particle.GetComponent<ParticleSystem>();
ParticleSystem.MainModule mainModule = ps[j].main;
mainModule.simulationSpace = ParticleSystemSimulationSpace.World;
ps.Stop(false, ParticleSystemStopBehavior.StopEmittingAndClear);
ps.Play(false);
ps.Simulate(playbackTime, false, false, true);
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…