From da0fe31443df586198c1265d08deb5458017e664 Mon Sep 17 00:00:00 2001 From: paramat Date: Tue, 14 Jun 2016 21:16:22 +0100 Subject: [PATCH] Boats: Raise collisionbox top surface to fix boat behaviour Lowering the top surface to be level with the boat top somehow causes the boat to fall through world if underwater. Revert to previous position that is needed for correct behaviour --- mods/boats/init.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mods/boats/init.lua b/mods/boats/init.lua index f481b2a3..0097a57a 100644 --- a/mods/boats/init.lua +++ b/mods/boats/init.lua @@ -34,7 +34,9 @@ end local boat = { physical = true, - collisionbox = {-0.5, -0.35, -0.5, 0.5, 0.15, 0.5}, + -- Warning: Do not change the position of the collisionbox top surface, + -- lowering it causes the boat to fall through the world if underwater + collisionbox = {-0.5, -0.35, -0.5, 0.5, 0.3, 0.5}, visual = "mesh", mesh = "boats_boat.obj", textures = {"default_wood.png"},