Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function switch_player_visual()
- prop = {
- mesh = "player.x",
- textures = {"player.png", },
- visual = "mesh",
- visual_size = {x=1, y=1},
- animation_frames = {0, 100},
- animation_speed = 50,
- animation_blend = 0,
- --animation_bone_position = {"Bone", {x=0, y=0, z=0}},
- --animation_bone_rotation = {"Bone", {x=0, y=0, z=0}},
- }
- for _, obj in pairs(minetest.get_connected_players()) do
- obj:set_properties(prop)
- end
- minetest.after(1.0, switch_player_visual)
- end
- minetest.after(1.0, switch_player_visual)
Advertisement
Add Comment
Please, Sign In to add comment