Skip to content
Permalink
Browse files

Doors: Trim open fencegate collison box again

The collision box still extended into a neighbouring empty node, causing
falling node objects to collide but not transform back into normal nodes.
Completes the fix started in a previous similar commit.
  • Loading branch information
paramat committed Sep 22, 2016
1 parent 34c768d commit 3e05870706c688ce3d162e80eb78a6a404f9f128
Showing with 1 addition and 1 deletion.
  1. +1 −1 mods/doors/init.lua
@@ -696,7 +696,7 @@ function doors.register_fencegate(name, def)
fence_open.collision_box = {
type = "fixed",
fixed = {{-1/2, -1/2, -1/4, -3/8, 1/2, 1/4},
{-5/8, -3/8, -1/2, -3/8, 3/8, 0}},
{-1/2, -3/8, -1/2, -3/8, 3/8, 0}},
}

minetest.register_node(":" .. name .. "_closed", fence_closed)

0 comments on commit 3e05870

Please sign in to comment.
You can’t perform that action at this time.