diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2017-01-29 12:52:51 +0100 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2017-01-29 12:52:51 +0100 |
commit | bfd24ee43a10ab79674636e9dad725cdba093f63 (patch) | |
tree | feab4ddb1db3ff45236d5fe27b1cfa88844d2f8f | |
parent | 5f01cd2d5a1df2071579f4dcae0b83c65bc3111e (diff) | |
download | advtrains-bfd24ee43a10ab79674636e9dad725cdba093f63.tar.gz advtrains-bfd24ee43a10ab79674636e9dad725cdba093f63.tar.bz2 advtrains-bfd24ee43a10ab79674636e9dad725cdba093f63.zip |
Found out why collision box does not fit train
-rw-r--r-- | advtrains/advtrains_train_subway/init.lua | 3 |
1 files changed, 2 insertions, 1 deletions
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) |