|
|
|
|
@ -227,7 +227,7 @@ fn hydrate_camera(
|
|
|
|
|
ScreenSpaceAmbientOcclusionBundle { ..default() },
|
|
|
|
|
TemporalAntiAliasSettings { ..default() },
|
|
|
|
|
MotionVectorPrepass { ..default() },
|
|
|
|
|
Name::new("3D Camera"),
|
|
|
|
|
// Name::new("3D Camera"),
|
|
|
|
|
));
|
|
|
|
|
|
|
|
|
|
let assets_handle = tweak
|
|
|
|
|
@ -251,9 +251,9 @@ fn hydrate_camera(
|
|
|
|
|
.unwrap()
|
|
|
|
|
.as_str(),
|
|
|
|
|
),
|
|
|
|
|
};
|
|
|
|
|
}.expect("Camera Startup");
|
|
|
|
|
player
|
|
|
|
|
.play(animation.expect("Camera Startup").clone())
|
|
|
|
|
.play(animation.clone())
|
|
|
|
|
.pause();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
@ -876,7 +876,7 @@ fn pick_up(
|
|
|
|
|
.expect("Load tweakfile");
|
|
|
|
|
events.iter_mut().for_each(|(entity, piece)| {
|
|
|
|
|
let assets_handle = tweak
|
|
|
|
|
.get_handle::<Gltf>("dispaly3d_models_assets_file")
|
|
|
|
|
.get_handle::<Gltf>("display3d_models_assets_file")
|
|
|
|
|
.unwrap();
|
|
|
|
|
let gltf = gltfs.get(assets_handle).expect("Load GLTF content");
|
|
|
|
|
children.iter_descendants(entity).for_each(|child| {
|
|
|
|
|
|