From: paramat Date: Tue, 14 Jun 2016 20:16:22 +0000 (+0100) Subject: Boats: Raise collisionbox top surface to fix boat behaviour X-Git-Tag: 0.4.15~178 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=da0fe31443df586198c1265d08deb5458017e664;p=oweals%2Fminetest_game.git 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 --- 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"},