add shotgun and fix up collision layers

This commit is contained in:
Jim 2025-08-31 20:30:31 -04:00
parent ad4a2cf393
commit 87fcc35a49
Signed by: jim
GPG key ID: 3D7D94BA53088BF4
8 changed files with 92 additions and 31 deletions

View file

@ -15,7 +15,7 @@ use bevy_egui::PrimaryEguiContext;
use building::{BuildingTypes, PlaceBuilding};
use camera::ControlledCamera;
use inhabitant_coranth::SpawnCoranth;
use physics::Ground;
use physics::{Ground, PhysicsLayers};
use state::{AppState, GameSystemSet};
pub struct LevelPlugin;
@ -47,6 +47,7 @@ fn setup(
perceptual_roughness: 0.8,
..default()
})),
CollisionLayers::new(PhysicsLayers::Ground, LayerMask::ALL),
PhysicsPickable,
Ground,
));