0 votes

I want to attach scripts to single particles in order to programmatically control them; I've searched for hours but I found nothing.
I.e. I want to access the individual particle instances
The built-in particle controls are fine but they are not low-level enough for me

in Engine by (12 points)

You can transform particle material into particle shader. There You can access general behavior of particles, as well as apply some individual behavior of single particles, but nothing too complex. What behavior are you planning for single particles ?

1 Answer

0 votes

For CPUParticles: This is not possible for performance reasons. Individual particles are not nodes.

For GPU-based Particles: This can be done with custom particle shaders. Shaders are not as flexible as scripts, but they can be run on the GPU, which is much faster for this kind of massively parallel task.

by (12,835 points)
edited by
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 Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.