Character body with running animation (#3)
* Add alien rig as child, what could go wrong * Add running animation
This commit is contained in:
@@ -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)),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user