small enemies spawn adjustments

This commit is contained in:
2025-05-04 16:58:19 +02:00
parent 63c831f92f
commit 5bf718678a
3 changed files with 4 additions and 4 deletions

View File

@@ -132,7 +132,7 @@ impl EnemySpawn {
.unwrap();
let mut this_transform = *this_transform;
this_transform.translation += Vec3::new(0., 1., 0.);
this_transform.translation += Vec3::new(0., 1.5, 0.);
let head = this.head.clone();
@@ -141,7 +141,7 @@ impl EnemySpawn {
Name::from(format!("enemy [{}]", head)),
Visibility::default(),
RigidBody::Dynamic,
Collider::capsule(0.4, 2.),
Collider::capsule(0.6, 2.),
CollisionLayers::new(LayerMask(GameLayer::Npc.to_bits()), LayerMask::ALL),
LockedAxes::new().lock_rotation_z().lock_rotation_x(),
));