1
0
mirror of https://github.com/Splizard/minetest-mod-snow.git synced 2024-12-29 16:00:16 +01:00

Sled needs to be under the player.

Not on top like a hat xD
This commit is contained in:
Splizard 2015-06-04 11:10:43 +12:00
parent a029130d61
commit 09a422a0e7

View File

@ -90,7 +90,7 @@ local function join_sled(self, player)
default.player_attached[name] = true
default.player_set_animation(player, "sit" , 30)
self.driver = name
self.object:set_attach(player, "", vector.zero, vector.zero)
self.object:set_attach(player, "", {x=0,y=-9,z=0}, {x=0,y=90,z=0})
self.object:setyaw(player:get_look_yaw())-- - math.pi/2)
end