Port animated_mesh_events

This commit is contained in:
Jan Hohenheim 2025-07-12 22:35:45 +02:00
parent 49bf41d6d6
commit dbc800f97a
No known key found for this signature in database

View File

@ -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.