From 30f7370fd4b8e3514d395af6ac7870c4af9ad0ce Mon Sep 17 00:00:00 2001 From: Hume2 Date: Tue, 28 Aug 2018 22:20:59 +0200 Subject: Make the bike 80% size --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index 11f9f97..d871828 100644 --- a/init.lua +++ b/init.lua @@ -36,7 +36,7 @@ local bike = { physical = true, -- Warning: Do not change the position of the collisionbox top surface, -- lowering it causes the bike to fall through the world if underwater - collisionbox = {-0.5, -0.5, -0.5, 0.5, 1.0, 0.5}, + collisionbox = {-0.4, -0.4, -0.4, 0.4, 0.8, 0.4}, visual = "mesh", mesh = "bike_bike.obj", textures = {"bike_bike.png"}, @@ -84,7 +84,7 @@ function bike.on_rightclick(self, clicker) end self.driver = clicker clicker:set_attach(self.object, "", - {x = 0, y = 3, z = -3}, {x = 0, y = 0, z = 0}) + {x = 0, y = 1.3, z = -2.3}, {x = 0, y = 0, z = 0}) default.player_attached[name] = true --[[minetest.after(0.2, function() default.player_set_animation(clicker, "sit" , 30) -- cgit v1.2.3