1
0
Fork 0

fix boat collisonbox to fit the model better

it says in a comment to not *lower* it - i made it higher. All
seems to work - boat does not fall through the world.
This commit is contained in:
cora 2022-10-14 22:59:09 +02:00 committed by Gitea
parent e245ff02c2
commit 1b57650317
1 changed files with 2 additions and 2 deletions

View File

@ -131,8 +131,8 @@ local boat = {
pointable = true,
-- 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},
selectionbox = {-0.7, -0.35, -0.7, 0.7, 0.3, 0.7},
collisionbox = {-0.5, -0.15, -0.5, 0.5, 0.55, 0.5},
selectionbox = {-0.7, -0.15, -0.7, 0.7, 0.55, 0.7},
visual = "mesh",
mesh = "mcl_boats_boat.b3d",
textures = {"mcl_boats_texture_oak_boat.png", "mcl_boats_texture_oak_boat.png", "mcl_boats_texture_oak_boat.png", "mcl_boats_texture_oak_boat.png", "mcl_boats_texture_oak_boat.png"},