Scripts, Signals and Particles [2d]

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

I haven’t seen an answer to this and I’m very confused about the whole thing. Basically my current goal is to have a particle nodes > process materials > gravity be affected by the kinematic player characters script when the player accelerates forwards (vehicle type).

Right now as I have it, the particles node is a child of the Player (kinematic) node. The player node is where the only script currently is and holds the controls for the player. While I’m pretty sure I need to send a signal from the Player to the particle, I’m not sure which signal type I’m supposed to be using or how to tell it to modify the gravity when the player is accelerating (since the process material is inside the particle node and I’m not sure if I type ProcessMaterial, process_material, etc. to talk to it) I think it’s just the signals and the wording of the script that’s messing with me as well as if I need a script on the particle node for this to work right.

overall the idea is to tell the gravity on the particles material to change when the player presses the accelerate button in 2D. If someone has a different Idea, needs more information, can direct me to some proper and understandable resources in the documentation, or can help with just a general explanation, it would be highly appreciated.

Thank you for reading and have a nice day.