Skip to content

Conversation

@greeble-dev
Copy link
Contributor

Objective

The scene_viewer example doesn't correctly switch between animations. It plays the new animation but also keeps playing any previous animations, so the animation graph mixes them all together.

I suspect this was accidentally broken when animation graphs were added in #11989, but I haven't confirmed.

Solution

Stop all animations and then play the new animation.

Testing

# Press enter to switch animation, or space to pause.
cargo run --example scene_viewer --features "free_camera" -- "assets/models/animated/Fox.glb"

@janhohenheim janhohenheim added C-Bug An unexpected or incorrect behavior C-Examples An addition or correction to our examples A-Animation Make things move and change over time D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Nov 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Animation Make things move and change over time C-Bug An unexpected or incorrect behavior C-Examples An addition or correction to our examples D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants