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
Esse commit está contido em:
paramat
2016-06-14 21:16:22 +01:00
commit da0fe31443

Ver arquivo

@@ -34,7 +34,9 @@ end
local boat = { local boat = {
physical = true, 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", visual = "mesh",
mesh = "boats_boat.obj", mesh = "boats_boat.obj",
textures = {"default_wood.png"}, textures = {"default_wood.png"},