update doc/*/libworld.md & update doc/*/entity-properties.md

This commit is contained in:
MihailRis 2026-07-27 21:38:27 +03:00
parent 35113777de
commit 2b5acfde62
4 changed files with 13 additions and 1 deletions

View file

@ -67,6 +67,10 @@ If true - the entity blocks the placement of a block that intersects with the en
Default value: *true*.
### *selectable*
If set to `false` the cursor will ignore the entity, passing the ray.
### *sensors*
A sensor is an area attached to a physical body that detects the entry of other bodies into it.

View file

@ -92,6 +92,8 @@ world.raycast(
-- exclusion filtering mode:
-- if true, filter_entities defines the list of ignored entity types
entities_exclusion: bool = false,
-- include entities with selectable=false
nonselect_blocks: bool = false;
[==[ additional parameters (blocks) ]==]
-- id of the block types used for filtering

View file

@ -61,12 +61,16 @@
### Блокирование - *blocking*
Определяет блокирует ли сущность установку блока, пересекающегося с хитбоксом сущности.
Определяет, блокирует ли сущность установку блока, пересекающегося с хитбоксом сущности.
*В будущем будет также блокировать движение других сущностей.*
Значение по-умолчанию: *true*.
### Выделяемость - *selectable*
При значении в `false` курсор будет игнорировать cущность, пропуская луч далее.
### Список сенсоров - *sensors*
Сенсор - область пространства, привязанная к физическому телу, детектирующее попадание в него других тел.

View file

@ -91,6 +91,8 @@ world.raycast(
-- исключающий режим фильтрации:
-- при значении (true) filter_entities определяет список игнорируемых
entities_exclusion: bool = false,
-- учитывать сущности с selectable=false
nonselect_entities: bool = false;
[==[ дополнительные параметры (блоки) ]==]
-- id типов блоков используемых для фильтрации