0 votes

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.

in Engine by (12 points)

Please log in or register to answer this question.

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.