From f14b30138b3f8b10a2bbfb33e45df1cc33d2a838 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 24 Oct 2023 21:05:07 -0700 Subject: [PATCH] fix spawn --- src/run.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/run.rs b/src/run.rs index 2d5858f..a3e0fc9 100644 --- a/src/run.rs +++ b/src/run.rs @@ -183,6 +183,7 @@ impl RunContextSetup{ let mut physics=crate::physics::PhysicsState::default(); physics.load_user_settings(&user_settings); physics.generate_models(&indexed_model_instances); + physics.spawn(indexed_model_instances.spawn_point); let mut graphics=crate::graphics::GraphicsState::new(&context.device,&context.queue,&context.config); graphics.load_user_settings(&user_settings);