0 votes

I imagine this is due to my skill. However, I have a gun scene set up as follows

Node2d (AK)
Animation Player
Sprite

I have my sprite attached to the sprite node for when an animation is not needed and this sits directly on top of my player. However when I change the animation to shoot the animation then plays but moves the sprite off down off the screen to the diagonal right... I have a short video to illustrate.

Video of issue on youtube

in Engine by (16 points)

1 Answer

0 votes

Does the gun sprite move around when you move the player while the animation is running?
Would also help to see how your animation is set up. (like what values are affected by the animation and in what way)

by (20 points)
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.