small enemies spawn adjustments
This commit is contained in:
@@ -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(),
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user