Hey there,
when i create a clone, he don’t use animation group in Atlas. It’s normal ?
Should I animate it in the script ? How ?
Thanks for advance.
Hey there,
when i create a clone, he don’t use animation group in Atlas. It’s normal ?
Should I animate it in the script ? How ?
Thanks for advance.
It looks like it doesn’t copy the animation. I feel that this might be a bug. Feel free to open a ticket on GitHub.
In the meantime the workaround is to call gui.play_flipbook(node, anim)
:
local node = gui.get_node("box")
local anim = gui.get_flipbook(node)
local clone = gui.clone(node)
gui.play_flipbook(clone, anim)
Ok, it works with gui.play_flipbook.
I try tomorow to open a ticket.
Thanks.