Boats: Lower boat collision box top
authorAuke Kok <sofar@foo-projects.org>
Sun, 22 May 2016 06:15:59 +0000 (23:15 -0700)
committerparamat <mat.gregory@virginmedia.com>
Mon, 23 May 2016 07:37:58 +0000 (08:37 +0100)
Standing on a boat makes you appear to "hover" over it since this
collision box is way too high. Lower it so that it's low enough
to look normal when walking on top of a boat

mods/boats/init.lua

index f8d0ccb4ba8858740dd36e2e3573e81a95de331a..f481b2a3a1107d892773d7f99de8aba817d7c9ef 100644 (file)
@@ -34,7 +34,7 @@ end
 
 local boat = {
        physical = true,
-       collisionbox = {-0.5, -0.35, -0.5, 0.5, 0.3, 0.5},
+       collisionbox = {-0.5, -0.35, -0.5, 0.5, 0.15, 0.5},
        visual = "mesh",
        mesh = "boats_boat.obj",
        textures = {"default_wood.png"},