damage per head (#32)
This commit is contained in:
@@ -76,7 +76,9 @@ fn on_trigger_gun(
|
||||
GunProjectile {
|
||||
time: time.elapsed_secs(),
|
||||
},
|
||||
Projectile { damage: 10 },
|
||||
Projectile {
|
||||
owner_head: state.head,
|
||||
},
|
||||
Collider::capsule_endpoints(0.5, Vec3::new(0., 0., 0.), Vec3::new(0., 0., -3.)),
|
||||
CollisionLayers::new(
|
||||
LayerMask(GameLayer::Projectile.to_bits()),
|
||||
|
||||
Reference in New Issue
Block a user