0 votes

is possible to bind a particle effect to the location of a KinematicBody2D?
i need my Player character to emit a little trail of particles, i have already connected them to the animation but when i load the scene the particles stay to the position 0,0 instead of having the player as an origin point.

Godot version 3.3.1 stable
in Engine by (12 points)

1 Answer

+1 vote

If you are using the Particles2D node, it's only a matter of placing them as a direct child of your player character, and the particle trail should emit from their position.

Your scene should look something like this:

   - PlayerNode
      - Particles2D
      - AnimationPlayer

Note that for the particles to actually "trail" behind the player (and not just stick to them), you need to set the "local_coords" property to false.

by (29 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 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.