diff options
| author | Hume2 <teratux.mail@gmail.com> | 2018-08-30 08:31:12 +0200 | 
|---|---|---|
| committer | Hume2 <teratux.mail@gmail.com> | 2018-08-30 08:31:12 +0200 | 
| commit | 975c40482961025d8a81cdbc7c5e13504745bd9a (patch) | |
| tree | 2fcbc58140aa2d7fab4b1b7c07683c1cd8b9ff75 /init.lua | |
| parent | 30f7370fd4b8e3514d395af6ac7870c4af9ad0ce (diff) | |
Make the bike 70% the original size
Diffstat (limited to 'init.lua')
| -rw-r--r-- | init.lua | 4 | 
1 files changed, 2 insertions, 2 deletions
| @@ -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.4, -0.4, -0.4, 0.4, 0.8, 0.4}, +	collisionbox = {-0.35, -0.35, -0.35, 0.35, 0.7, 0.35},  	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 = 1.3, z = -2.3}, {x = 0, y = 0, z = 0}) +			{x = 0, y = 1, z = -2}, {x = 0, y = 0, z = 0})  		default.player_attached[name] = true  		--[[minetest.after(0.2, function()  			default.player_set_animation(clicker, "sit" , 30) | 
