Skip to content

Commit 3189e44

Browse files
Wuzzy2SmallJoker
authored andcommittedJan 9, 2020
Add missing entity documentation (#9297)
1 parent f4f7c7a commit 3189e44

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed
 

Diff for: ‎doc/lua_api.txt

+12-2
Original file line numberDiff line numberDiff line change
@@ -6131,11 +6131,13 @@ Player properties need to be saved manually.
61316131
-- Defaults to 1.625.
61326132

61336133
physical = true,
6134+
-- Collide with `walkable` nodes.
61346135

61356136
collide_with_objects = true,
61366137
-- Collide with other objects if physical = true
61376138

61386139
weight = 5,
6140+
-- Unused.
61396141

61406142
collisionbox = {-0.5, 0.0, -0.5, 0.5, 1.0, 0.5}, -- Default
61416143
selectionbox = {-0.5, 0.0, -0.5, 0.5, 1.0, 0.5},
@@ -6170,7 +6172,8 @@ Player properties need to be saved manually.
61706172
-- Multipliers for the visual size. If `z` is not specified, `x` will be used
61716173
-- to scale the entity along both horizontal axes.
61726174

6173-
mesh = "model",
6175+
mesh = "model.obj",
6176+
-- File name of mesh when using "mesh" visual
61746177

61756178
textures = {},
61766179
-- Number of required textures depends on visual.
@@ -6200,14 +6203,20 @@ Player properties need to be saved manually.
62006203
-- spritesheet.
62016204

62026205
is_visible = true,
6206+
-- If false, object is invisible and can't be pointed.
62036207

62046208
makes_footstep_sound = false,
6209+
-- If true, is able to make footstep sounds of nodes
6210+
-- (see node sound definition for details).
62056211

62066212
automatic_rotate = 0,
62076213
-- Set constant rotation in radians per second, positive or negative.
62086214
-- Set to 0 to disable constant rotation.
62096215

62106216
stepheight = 0,
6217+
-- If positive number, object will climb upwards when it moves
6218+
-- horizontally against a `walkable` node, if the height difference
6219+
-- is within `stepheight`.
62116220

62126221
automatic_face_movement_dir = 0.0,
62136222
-- Automatically set yaw to movement direction, offset in degrees.
@@ -6659,7 +6668,8 @@ Used by `minetest.register_node`.
66596668
-- Tells connected nodebox nodes to connect only to these sides of this
66606669
-- node
66616670

6662-
mesh = "model",
6671+
mesh = "model.obj",
6672+
-- File name of mesh when using "mesh" drawtype
66636673

66646674
selection_box = {
66656675
type = "fixed",

0 commit comments

Comments
 (0)
Please sign in to comment.