AnimationTree should keep track of the amount of a times an animation has looped, to use with Advance Expressions. #10138
RobertP-McDowell
started this conversation in
General Discussions
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
This is a video of how it would work
Untitled.video.-.Made.with.Clipchamp.1.mp4
the ChargeUpLoop animation is looping 3 times, the Advance Expression is causing it to loop a few times before moving on to the ChargeUpEnd animation, here is the expression in case you can't see it:
loop count >= 3
So my proposal is that AnimationTree keeps track of the amount a single animation has looped with the
loop_count
variable.Why not an addon?
This can be created with a surprisingly convoluted script, and could be an addon. But even so I think it has enough use cases that it should be implemented in the engine itself, I already have many animations that pretty much require this, and I think several other people would too.
I feel this is the cleanest solution to the problem, and takes great advantage of the Advance Expressions already implemented. Besides that I could see the
loop_count
variable being used for many other things.Beta Was this translation helpful? Give feedback.
All reactions