Function bevy_animation::animate_targets
source · pub fn animate_targets(
clips: Res<'_, Assets<AnimationClip>>,
graphs: Res<'_, Assets<AnimationGraph>>,
players: Query<'_, '_, (&AnimationPlayer, &Handle<AnimationGraph>)>,
targets: Query<'_, '_, (Entity, &AnimationTarget, Option<&Name>, AnyOf<(&mut Transform, &mut MorphWeights)>)>
)
Expand description
A system that modifies animation targets (e.g. bones in a skinned mesh) according to the currently-playing animation.