add alien floating in space

This commit is contained in:
yuni 2024-03-17 01:25:51 +01:00
parent 2281fd89e7
commit d607da7766

View file

@ -77,6 +77,21 @@ pub fn setup(
..default() ..default()
}); });
// Add alien
commands.spawn(SceneBundle {
transform: Transform {
translation: Vec3::new(
0.0,
0.0,
100.0,
),
rotation: Quat::from_rotation_y(-PI / 3.),
scale: Vec3::splat(5.0),
},
scene: asset_server.load("restricted/alien.glb#Scene0"),
..default()
});
// Space is DARK // Space is DARK
ambient_light.brightness = 0.0; ambient_light.brightness = 0.0;