Page 1 of 1

[Problem] Mesh not show

Posted: Mon Sep 29, 2014 09:55
by tima_gt
The code:
minetest.register_node("timatrains:train1", {
description = "Subway (like 81-717 by MetroVagonMash)",
mesh = "subway_minetest.obj",
visual_scale = 5.0,
tiles = {"subway_minetest.png"},
paramtype = "light",
drawtype = "nodebox",
inventory_image = "timatrains_train1.png",
wield_image = "timatrains_train1.png",
groups = {cracky=3},
})
Mesh isn't show, but block is visible :(
Image

Models folder:
Image

What i need to do?

Re: [Problem] Mesh not show

Posted: Mon Sep 29, 2014 10:13
by jp
Your model cannot fit into a node, but an entity.

See the follow links :
- http://dev.minetest.net/minetest.register_entity
- http://dev.minetest.net/LuaEntitySAO