fix collision box of gate slots

This commit is contained in:
flux 2022-05-07 17:26:09 -07:00 committed by SmallJoker
parent fc78d926bc
commit b97c7caa07

View File

@ -55,12 +55,15 @@ castle_gates.register_gate_slot = function(material)
fixed = { fixed = {
{-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, -- body {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, -- body
{-0.5, -0.5, -0.75, 0.5, 0.5, -1.5}, -- bracket {-0.5, -0.5, -0.75, 0.5, 0.5, -1.5}, -- bracket
} },
}, },
collision_box = { collision_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, 0.5, 1.5}, -- body fixed = {
{-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, -- body
{-0.5, -0.5, -0.75, 0.5, 0.5, -1.5}, -- bracket
},
}, },
}) })