bevy/examples/animation
Sebastian Meßmer fa15b31930 Smooth Transition between Animations (#6922)
# Objective

- Fixes https://github.com/bevyengine/bevy/discussions/6338

This PR allows for smooth transitions between different animations.

## Solution

- This PR uses very simple linear blending of animations.
- When starting a new animation, you can give it a duration, and throughout that duration, the previous and the new animation are being linearly blended, until only the new animation is running.
- I'm aware of https://github.com/bevyengine/rfcs/pull/49 and https://github.com/bevyengine/rfcs/pull/51, which are more complete solutions to this problem, but they seem still far from being implemented. Until they're ready, this PR allows for the most basic use case of blending, i.e. smoothly transitioning between different animations.

## Migration Guide

- no bc breaking changes
2023-01-09 19:24:51 +00:00
..
animated_fox.rs Smooth Transition between Animations (#6922) 2023-01-09 19:24:51 +00:00
animated_transform.rs enum Visibility component (#6320) 2022-12-25 00:39:29 +00:00
custom_skinned_mesh.rs Allow passing glam vector types as vertex attributes (#6442) 2022-11-04 03:45:17 +00:00
gltf_skinned_mesh.rs Add global time scaling (#5752) 2022-10-22 18:52:29 +00:00