Skip to content
Permalink
Browse files

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
  • Loading branch information...
paramat committed Jun 14, 2016
1 parent 2199be5 commit da0fe31443df586198c1265d08deb5458017e664
Showing with 3 additions and 1 deletion.
  1. +3 −1 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"},

0 comments on commit da0fe31

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