classes/class_animation #537
Replies: 1 comment
-
|
If you're having trouble adding an animation to an animation player through code, try making an animation library. var animation_player = AnimationPlayer.new()
var animation = Animation.new()
var library = AnimationLibrary.new()
library.add_animation("choose_an__animation_name", animation)
animation_player.add_animation_library("choose_a_library_name", library)
animation_player.play("choose_a_library_name/choose_an__animation_name") |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
classes/class_animation
Inherits: Resource< RefCounted< Object Holds data that can be used to animate anything in the engine. Description: This resource holds data that can be used to animate anything in the engine....
https://docs.godotengine.org/en/stable/classes/class_animation.html
Beta Was this translation helpful? Give feedback.
All reactions