3D model dynamic skin update issue...
I would like to update 3D model skin on the fly with other event than "joining".. but it fails...
... what's wrong ?
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
-- this works (do refresh the visual aspect observed by other players)
minetest.register_on_joinplayer(function(player)
player:set_properties({ textures = {"askin.png"},})
end)
-- but
player:set_properties({ textures = {"askin.png"},})
-- elsewhere than register_on_joinplayer wont do the visual update to other players
... what's wrong ?