fix collision box of gate slots
This commit is contained in:
parent
fc78d926bc
commit
b97c7caa07
@ -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
|
||||||
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user