Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Newby | |
Old Version | Published before Godot 3 was released. |
my enemy works fine in the beginning with its idle animation but when i hit it it stays stuck in its hurt animation and i don’t know how to fix it
are you setting him back to normal in any way? and does the animation(if using the animation player node) repeat is set to false?
rustyStriker | 2017-10-27 23:16
It is hard to say without seeing any code. One thing that can cause stuck animation is be constantly invoking play()
on an AnimationPlayer in a loop, causing it to restart every frame.
avencherus | 2017-10-27 23:30
show code
DodoIta | 2017-11-05 15:08