Open
Description
What problem does this solve or what need does it fill?
Dealing with animation in practice is very verbose. Usually, people spawn glTF scenes that they want to animate. However, the animation player is buried somewhere in the hierarchy! This means that lots of users set up boilerplate observers that add some kind of manual AnimationPlayerLink(Entity)
to the scene root
What solution would you like?
Make a scene's animation players a 1:n relationship
What alternative(s) have you considered?
- keep the manual boilerplate
- introduce a new system parameter that fetches the right animation players
- Move the animation players up the hierarchy into a vector at the scene root
- Rethink how the animation player API / hierarchy works in general
- Add a convenience API to scenes with only a single animation player