[Problem] Mesh not show

Post Reply
User avatar
tima_gt
Member
Posts: 22
Joined: Mon Jun 10, 2013 13:19

[Problem] Mesh not show

by tima_gt » Post

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?

User avatar
jp
Banned
Posts: 947
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith
Location: France

Re: [Problem] Mesh not show

by jp » Post

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

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests