Skip to content

Commit

Permalink
Improve target bounding box
Browse files Browse the repository at this point in the history
  • Loading branch information
Enet4 committed Nov 30, 2024
1 parent 47457c1 commit 1539a9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/live/mob.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ pub fn spawn_mob(cmd: &mut Commands, assets: &MobAssets, position: Vec3, target:
..default()
},
mob: Mob,
collidable: CollidableBox::new(Vec3::new(TARGET_SIZE - 0.2, TARGET_SIZE - 0.2, 0.5)),
collidable: CollidableBox::new(Vec3::new(TARGET_SIZE - 0.25, TARGET_SIZE - 0.25, 0.25)),
target,
health: Health { value: 1., max: 1. },
pickable: PickableBundle {
Expand Down

0 comments on commit 1539a9b

Please sign in to comment.