Merge pull request #24 from 12Me21/master

Fixes collision boxes on right directional signs
This commit is contained in:
Pierre-Yves Rollo 2018-10-08 09:13:07 +02:00 committed by GitHub
commit bb24d91645
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,7 +189,7 @@ local models = {
drawtype = "mesh", drawtype = "mesh",
mesh = "signs_dir_right.obj", mesh = "signs_dir_right.obj",
selection_box = { type = "fixed", fixed = { -0.5, -7/32, 0.5, 7/16, 7/32, 7/16 } }, selection_box = { type = "fixed", fixed = { -0.5, -7/32, 0.5, 7/16, 7/32, 7/16 } },
collision_box = { type = "fixed", fixed = { -0,5, -7/32, 0.5, 7/16, 7/32, 7/16 } }, collision_box = { type = "fixed", fixed = { -0.5, -7/32, 0.5, 7/16, 7/32, 7/16 } },
}, },
}, },
green_left_sign = { green_left_sign = {
@ -237,7 +237,7 @@ local models = {
drawtype = "mesh", drawtype = "mesh",
mesh = "signs_dir_right.obj", mesh = "signs_dir_right.obj",
selection_box = { type = "fixed", fixed = { -0.5, -7/32, 0.5, 7/16, 7/32, 7/16 } }, selection_box = { type = "fixed", fixed = { -0.5, -7/32, 0.5, 7/16, 7/32, 7/16 } },
collision_box = { type = "fixed", fixed = { -0,5, -7/32, 0.5, 7/16, 7/32, 7/16 } }, collision_box = { type = "fixed", fixed = { -0.5, -7/32, 0.5, 7/16, 7/32, 7/16 } },
}, },
}, },
yellow_left_sign = { yellow_left_sign = {
@ -285,7 +285,7 @@ local models = {
drawtype = "mesh", drawtype = "mesh",
mesh = "signs_dir_right.obj", mesh = "signs_dir_right.obj",
selection_box = { type = "fixed", fixed = { -0.5, -7/32, 0.5, 7/16, 7/32, 7/16 } }, selection_box = { type = "fixed", fixed = { -0.5, -7/32, 0.5, 7/16, 7/32, 7/16 } },
collision_box = { type = "fixed", fixed = { -0,5, -7/32, 0.5, 7/16, 7/32, 7/16 } }, collision_box = { type = "fixed", fixed = { -0.5, -7/32, 0.5, 7/16, 7/32, 7/16 } },
}, },
}, },
white_left_sign = { white_left_sign = {