From bfd24ee43a10ab79674636e9dad725cdba093f63 Mon Sep 17 00:00:00 2001 From: Gabriel PĂ©rez-Cerezo Date: Sun, 29 Jan 2017 12:52:51 +0100 Subject: Found out why collision box does not fit train --- advtrains/advtrains_train_subway/init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/advtrains/advtrains_train_subway/init.lua b/advtrains/advtrains_train_subway/init.lua index 1282ec7..faf8ceb 100644 --- a/advtrains/advtrains_train_subway/init.lua +++ b/advtrains/advtrains_train_subway/init.lua @@ -68,7 +68,8 @@ advtrains.register_wagon("subway_wagon", { }, visual_size = {x=1, y=1}, wagon_span=2, - collisionbox = {-1.0,-0.5,-1.8, 1.0,2.5,1.8}, + --collisionbox = {-1.0,-0.5,-1.8, 1.0,2.5,1.8}, + collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0}, is_locomotive=true, drops={"default:steelblock 4"}, --custom_on_activate = function(self, dtime_s) -- cgit v1.2.3