aboutsummaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>2012-10-23 20:03:06 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-11-25 18:14:14 +0200
commit0a020dbcc848ae2debec664846e08bd097d70320 (patch)
tree5c43fc7d023d002dc5fb637eea55022265bde0c8 /src/client.h
parentac97a7f70eefd4b8065e006c634a0a5baf236b62 (diff)
downloadminetest-0a020dbcc848ae2debec664846e08bd097d70320.tar.gz
minetest-0a020dbcc848ae2debec664846e08bd097d70320.tar.bz2
minetest-0a020dbcc848ae2debec664846e08bd097d70320.zip
Properly read the mesh from LUA.
Players can now be set to meshes using the following test script: function switch_player_visual() prop = { mesh="player.obj", texture="player.png", visual="mesh", } 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)
Diffstat (limited to 'src/client.h')
0 files changed, 0 insertions, 0 deletions