add alien floating in space
This commit is contained in:
parent
2281fd89e7
commit
d607da7766
15
src/world.rs
15
src/world.rs
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue