+1 vote

Hey guys, I have a little troublesome problem.

I can change my character's animations to move or jump normally but when I try to do one of attacking for example it literally only comes out the first frame

hours and hours of trying and it seems that the animation ends too soon

someone in a guide on how to make a state for this animation to happen completely and then return to the Idle state

Godot version 3.4.4
in Engine by (13 points)

Is the animations managed in a state machine? Is the animation being called once (e.g. in the _input() function)? Or is it being called each frame (e.g. in the _physics_process() function)?

1 Answer

0 votes

Obviously You made animationplayer play() in physics process so it always stuck in 1st frame of animation. You need to think of a way to play() animation once. You must have done it correctly for jumping, so try to notice the difference

by (7,925 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 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.