How `bevy_tween` animation architecture works
mainThe animation system is built on top of bevy_time_runner, treating an animator as a tree of entities:
- Parent (
TimeRunner): The parent entity handles all timing and progress management for its children. - Children: Children can be any combination of components, including tweens provided by
bevy_tween. - Pipeline: Systems run in a pipeline, communicating through dependency-injected components.
This tree-based approach allows for high flexibility, enabling parallel, sequential, or overlapping animations of any type, and makes it easy to extend the system with custom components or events.