bevy/crates/bevy_animation
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
..
derive Add Support for Triggering Events via AnimationEvents (#15538) 2024-10-06 10:03:05 +00:00
src Fixes to animation graph evaluation (#15689) 2024-10-07 07:30:00 +00:00
Cargo.toml Add Support for Triggering Events via AnimationEvents (#15538) 2024-10-06 10:03:05 +00:00
README.md Add README.md to all crates (#13184) 2024-05-02 18:56:00 +00:00

Bevy Animation

License Crates.io Downloads Docs Discord