[Problem] Mesh not show

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

[Problem] Mesh not show

by tima_gt » Mon Sep 29, 2014 09:55

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
Member
 
Posts: 705
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith

Re: [Problem] Mesh not show

by jp » Mon Sep 29, 2014 10:13

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
 


Return to Modding Discussion

Who is online

Users browsing this forum: No registered users and 63 guests

cron