try controlling the sprite for direction change, also your asset path still sucks

This commit is contained in:
2024-11-07 10:32:38 +02:00
parent 0e862aa71f
commit ef375b2da8
2 changed files with 67 additions and 77 deletions

View File

@@ -24,8 +24,8 @@ pub fn log_positions(
info!("Player not found or multiple players detected.");
}
if let Ok(goal_transform) = goals.get_single() {
info!("Player Position: {:?}", goal_transform.translation);
info!("Goal Position: {:?}", goal_transform.translation);
} else {
info!("Player not found or multiple players detected.");
info!("Goal not found or multiple players detected.");
}
}