From dbc800f97aad2b0499e6f32deff545f55a100256 Mon Sep 17 00:00:00 2001 From: Jan Hohenheim Date: Sat, 12 Jul 2025 22:35:45 +0200 Subject: [PATCH] Port animated_mesh_events --- examples/animation/animated_mesh_events.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/animation/animated_mesh_events.rs b/examples/animation/animated_mesh_events.rs index b9ce729bad..69af4b5732 100644 --- a/examples/animation/animated_mesh_events.rs +++ b/examples/animation/animated_mesh_events.rs @@ -122,8 +122,9 @@ fn setup( )); // Fox - commands.spawn(SceneRoot( - asset_server.load(GltfAssetLabel::Scene(0).from_asset(FOX_PATH)), + commands.spawn(( + SceneRoot(asset_server.load(GltfAssetLabel::Scene(0).from_asset(FOX_PATH))), + Transform::default().looking_to(Vec3::Z, Vec3::Y), )); // We're seeding the PRNG here to make this example deterministic for testing purposes.