add shotgun and fix up collision layers
This commit is contained in:
parent
ad4a2cf393
commit
87fcc35a49
8 changed files with 92 additions and 31 deletions
|
|
@ -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,
|
||||
));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue