Skip to content
Snippets Groups Projects
Commit 3e058707 authored by paramat's avatar paramat
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.
parent 34c768d3
No related branches found
No related tags found
No related merge requests found
......@@ -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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment