0 votes

Im trying to create a particle system so that particles move between two different nodes. One is the particle emitter and another is an object in the room.

I have got this working by grabbing both of the nodes their location and applying the normalized vector to the direction with setdirection and the gravity by setgravity. This works great when the two nodes are in their place.

However, I want the particle emitter to be able to move. I unchecked local coords so they stay in place. However, the gravity and direction values still get updated in real time so when the particle emitter moves the old particles go in the wrong direction.

Is there any way to "lock" the gravity and direction values of a particle when creating them? Or will this always be the same for every particle of one particle node.

Godot version 3.1
in Engine by (15 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 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 webmaster@godotengine.org with your username.