Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Multiple instances of single animation in AnimationController #1700

Closed
eugeneko opened this issue Dec 4, 2016 · 2 comments
Closed

Multiple instances of single animation in AnimationController #1700

eugeneko opened this issue Dec 4, 2016 · 2 comments
Labels

Comments

@eugeneko
Copy link
Contributor

eugeneko commented Dec 4, 2016

subj.
I need to simultaneously run one animation several 'times'.
Physical copying of one animation is inappropriate because it is dirty and I have no upper limit of number of instances.
I also don't want to manipulate with AnimatedModel by hand.

@cadaver
Copy link
Contributor

cadaver commented Dec 5, 2016

Looks like you have to expand the API, for example when playing an animation you could have a bool for "allowMultiple" and then you probably have to add an index parameter to be able to refer to the multiple copies of the same animation. Not going to be very clean in any case I think, but workable.

@github-actions
Copy link

Marking this stale since there has been no activity for 30 days.
It will be closed if there is no activity for another 15 days.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants