1
0
Fork 0

Make squid collision box a square-shaped

This commit is contained in:
Wuzzy 2017-02-20 05:15:50 +01:00
parent 0fbc5ebfdc
commit 9bbe4a3dab
1 changed files with 3 additions and 1 deletions

View File

@ -13,7 +13,9 @@ mobs:register_mob("mobs_mc:squid", {
hp_min = 10, hp_min = 10,
hp_max = 10, hp_max = 10,
armor = 100, armor = 100,
collisionbox = {-0.4, 1.3, -1.5, 0.6, 2.3, 1.5}, -- Note: This collision box is pretty generous because they can't be rotated yet, but at least it not confusing for the player.
-- TODO: Make the hitbox smaller when Minetest supports rotation of collision boxes
collisionbox = {-1.5, 1.3, -1.5, 1.5, 2.3, 1.5},
visual = "mesh", visual = "mesh",
mesh = "mobs_squid.b3d", mesh = "mobs_squid.b3d",
textures = { textures = {