pub fn animation_player(
    time: Res<'_, Time>,
    animations: Res<'_, Assets<AnimationClip>>,
    children: Query<'_, '_, &Children>,
    names: Query<'_, '_, &Name>,
    transforms: Query<'_, '_, &mut Transform>,
    morphs: Query<'_, '_, &mut MorphWeights>,
    parents: Query<'_, '_, (Has<AnimationPlayer>, Option<&Parent>)>,
    animation_players: Query<'_, '_, (Entity, Option<&Parent>, &mut AnimationPlayer)>
)
Expand description

System that will play all animations, using any entity with a AnimationPlayer and a Handle<AnimationClip> as an animation root