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
|
|
@ -19,5 +19,14 @@ impl Plugin for PhysicsPlugin {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(PhysicsLayer, Default, Clone, Copy, Debug, PartialEq, Eq, Reflect)]
|
||||
pub enum PhysicsLayers {
|
||||
#[default]
|
||||
Ground,
|
||||
Core,
|
||||
Inhabitant,
|
||||
Projectiles,
|
||||
}
|
||||
|
||||
#[derive(Component)]
|
||||
pub struct Ground;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue