bevy/crates/bevy_animation/src
Matty d3657a04cd
Fixes to animation graph evaluation (#15689)
# Objective

Fix a couple of substantial errors found during the development of
#15665:
- `AnimationCurveEvaluator::add` was secretly unreachable. In other
words, additive blending never actually occurred.
- Weights from the animation graph nodes were ignored, and only
`ActiveAnimation`'s weights were used.

## Solution

Made additive blending reachable and included the graph node weight in
the weight of the stack elements appended in the curve application loop
of `animate_targets`.

## Testing

Tested on existing examples and on the new example added in #15665.
2024-10-07 07:30:00 +00:00
..
animatable.rs Fix additive blending of quaternions (#15662) 2024-10-05 20:03:10 +00:00
animation_curves.rs Fix additive blending of quaternions (#15662) 2024-10-05 20:03:10 +00:00
animation_event.rs Add Support for Triggering Events via AnimationEvents (#15538) 2024-10-06 10:03:05 +00:00
gltf_curves.rs Eliminate redundant clamping from sample-interpolated curves (#15620) 2024-10-03 18:26:41 +00:00
graph.rs Implement additive blending for animation graphs. (#15631) 2024-10-04 22:13:22 +00:00
lib.rs Fixes to animation graph evaluation (#15689) 2024-10-07 07:30:00 +00:00
transition.rs Fix repeated animation transition bug (#14411) 2024-07-22 19:17:46 +00:00
util.rs Animatable trait for interpolation and blending (#4482) 2024-02-02 21:19:37 +00:00