mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Improve mesh scaling factor documentation
This commit is contained in:
parent
612db5b2ca
commit
e039f4c8af
1 changed files with 6 additions and 1 deletions
|
@ -9398,7 +9398,8 @@ Player properties need to be saved manually.
|
|||
-- to scale the entity along both horizontal axes.
|
||||
|
||||
mesh = "model.obj",
|
||||
-- File name of mesh when using "mesh" visual
|
||||
-- File name of mesh when using "mesh" visual.
|
||||
-- For legacy reasons, this uses a 10x scale for meshes: 10 units = 1 node.
|
||||
|
||||
textures = {},
|
||||
-- Number of required textures depends on visual:
|
||||
|
@ -10170,6 +10171,10 @@ Used by `core.register_node`.
|
|||
|
||||
mesh = "",
|
||||
-- File name of mesh when using "mesh" drawtype
|
||||
-- The center of the node is the model origin.
|
||||
-- For legacy reasons, models in OBJ format use a scale of 1 node = 1 unit;
|
||||
-- all other model file formats use a scale of 1 node = 10 units,
|
||||
-- consistent with the scale used for entities.
|
||||
|
||||
selection_box = {
|
||||
-- see [Node boxes] for possibilities
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue