anima
anima copied to clipboard
anima_property cannot handle discontinuous property eg. bool property
Hi!
When I tried to call anima_property func with "visible" value. Script will be broken at runtime. I tried to use callback func to set visibility(It is not a straight forward solution).
If you have any idea to solve this little problem. Please let me know. Thanks!
Yes, animating a boolean is not supported. What are you trying to achieve? What kind of animation do you want to create?
Hi! Thanks for relay! I want create a flicker effect.
From: Alessandro Senese @.> Sent: Thursday, August 3, 2023 6:34:53 PM To: ceceppa/anima @.> Cc: baihan @.>; Author @.> Subject: Re: [ceceppa/anima] anima_property cannot handle discontinuous property eg. bool property (Issue #37)
Yes, animating a boolean is not supported. What are you trying to achieve? What kind of animation do you want to create?
― Reply to this email directly, view it on GitHubhttps://github.com/ceceppa/anima/issues/37#issuecomment-1663744754, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEMO5M4G2CG5EUKFLX2PSILXTN5E3ANCNFSM6AAAAAA3CNO6UA. You are receiving this because you authored the thread.Message ID: @.***>
So, you can animate the opacity instead. Maybe the built-in "Flash" animation is what are you looking for?
Anima.node(self).anima_animation('flash').play()