bevyengine / bevyengine/bevy

No example for how to load animations by name

Open
#10,715 10 comments 2 reactions 0 assignees View on GitHub
A-Animation A-Assets C-Examples C-Usability D-Straightforward S-Ready-For-Implementation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## How can Bevy's documentation be improved?

The [animated_fox](https://github.com/bevyengine/bevy/blob/6f56380826ce4641fccb672c92f5c97601041f4c/examples/animation/animated_fox.rs#L34) example shows how to load animations by path, but not by animation name.

By loading in the `Gltf` object directly and then debugging it, I was able to determine that I needed the path, not the animation name. However, no example of how I might use the animation name itself was found, despite it being substantially more human-readable.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.