Get particle transforms

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By supagu

It looks like the Particles class in C++ has no way to get the list of particle transforms.

How would one get them?
And how would one set them?

:bust_in_silhouette: Reply From: Zylann

The Particles node is a GPU implementation of a particle system. Transforms are stored on your graphics card for maximum rendering performance, and the only place to modify them is a particle shader

Starting from Godot 3.1, if you want to access particles in your script, you should use CPUParticles instead, which by its name, runs particles on the CPU instead, which is slower but allows to access them from script.