Adjust hitboxes for husk and medium birds

The hitbox of the husk did not include the head and the hitboxes
of the medium birds were far too wide.
This commit is contained in:
Kemper 2021-11-19 06:18:13 +00:00
parent 81846f313f
commit d37dbf5d24

View File

@ -319,11 +319,17 @@ impl Body {
biped_small::Species::Adlet => Vec3::new(1.0, 0.75, 2.0),
biped_small::Species::Sahagin => Vec3::new(1.0, 1.2, 1.7),
biped_small::Species::Myrmidon => Vec3::new(1.0, 0.75, 2.2),
biped_small::Species::Husk => Vec3::new(1.0, 0.75, 1.7),
biped_small::Species::Husk => Vec3::new(1.7, 0.7, 2.7),
_ => Vec3::new(1.0, 0.75, 1.4),
},
Body::BirdMedium(_) => Vec3::new(2.0, 1.0, 1.5),
Body::BirdMedium(body) => match body.species {
bird_medium::Species::Chicken => Vec3::new(1.0, 1.0, 1.35),
bird_medium::Species::Duck => Vec3::new(0.9, 1.0, 1.4),
bird_medium::Species::Goose => Vec3::new(1.0, 1.2, 1.5),
bird_medium::Species::Peacock => Vec3::new(1.3, 1.1, 1.4),
_ => Vec3::new(2.0, 1.0, 1.5),
},
Body::BirdLarge(_) => Vec3::new(2.0, 6.0, 3.5),
Body::Dragon(_) => Vec3::new(16.0, 10.0, 16.0),
Body::FishMedium(_) => Vec3::new(0.5, 2.0, 0.8),