pickup shows in toolbar

This commit is contained in:
LorrensP-2158466
2025-04-06 16:31:32 +02:00
10 changed files with 349 additions and 59 deletions

View File

@@ -22,7 +22,7 @@ fn main() {
RapierPhysicsPlugin::<NoUserData>::default(),
RapierDebugRenderPlugin::default(),
player::plugin,
debugging::plugin,
// debugging::plugin
))
.init_state::<GameState>()
.add_systems(OnEnter(GameState::Playing), setup)
@@ -62,11 +62,11 @@ fn setup(
Collider::cuboid(0.5, 0.5, 0.5),
));
// light
commands.spawn((
PointLight {
shadows_enabled: true,
..default()
},
Transform::from_xyz(4.0, 8.0, 4.0),
));
// commands.spawn((
// PointLight {
// shadows_enabled: true,
// ..default()
// },
// Transform::from_xyz(4.0, 8.0, 4.0),
// ));
}