Character body with running animation (#3)

* Add alien rig as child, what could go wrong

* Add running animation
This commit is contained in:
GitGhillie
2025-03-06 22:12:16 +01:00
committed by GitHub
parent 8e7d63725e
commit e50d3009ca
3 changed files with 10 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ fn setup(
) {
// Build the animation graph
let (graph, node_indices) = AnimationGraph::from_clips([
asset_server.load(GltfAssetLabel::Animation(2).from_asset(ALIEN_ASSET_PATH)),
asset_server.load(GltfAssetLabel::Animation(1).from_asset(ALIEN_ASSET_PATH)),
asset_server.load(GltfAssetLabel::Animation(0).from_asset(ALIEN_ASSET_PATH)),
]);