Is there a way to teleport an entire particle system, including previously created particles, without losing them, even though they’re originally created in world space?
2 Answers
2I don’t know if it’s the best way to do this but you could simply change the position of each particle using GetParticles and SetParticles
basically what @coeusueoc says. Be careful though when doing that. Depending on your emitter this will be heavy on performance. Is there an option for you to create your particles in local space instead?
– Captain_PineappleYes. As you want to move not just the position that new particles are emitted from but also all existing particles, change transform.position of the game object that has the particle system.
Are you emitting to local or world space? If local, then yeah everything will move with the system. You'd just move the object holding the system.
– TreyH