0 votes

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?

asked Mar 1, 2019 in Engine by supagu (50 points)

1 Answer

0 votes

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 https://docs.godotengine.org/en/latest/classes/class_particles.html#description

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.

answered Mar 1, 2019 by Zylann (22,041 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.