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

@ -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;