add plane below the player

This commit is contained in:
yuni 2024-03-16 23:37:48 +01:00
parent f337a6024c
commit 57e5241abf

View file

@ -58,6 +58,13 @@ pub fn setup(
..default()
});
commands.spawn(PbrBundle {
mesh: meshes.add(Plane3d::default().mesh().size(20.0, 20.0)),
transform: Transform::from_xyz(0.0, -20.0, 0.0),
material: white_handle,
..default()
});
// Space is DARK
ambient_light.brightness = 0.0;