player walk animation

This commit is contained in:
2025-03-07 11:17:24 +01:00
parent e50d3009ca
commit 323e644ff4
2 changed files with 70 additions and 7 deletions

View File

@@ -4,9 +4,9 @@ use std::time::Duration;
pub const ALIEN_ASSET_PATH: &str = "models/alien_naked.glb";
#[derive(Resource)]
struct Animations {
animations: Vec<AnimationNodeIndex>,
graph: Handle<AnimationGraph>,
pub struct Animations {
pub animations: Vec<AnimationNodeIndex>,
pub graph: Handle<AnimationGraph>,
}
pub fn plugin(app: &mut App) {