mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 23:11:49 +00:00
update doc/*/scripting/ecs.md
This commit is contained in:
parent
c0a89cd93a
commit
6f195c9a2c
2 changed files with 10 additions and 0 deletions
|
|
@ -114,6 +114,11 @@ body:set_crouching(enabled: bool)
|
||||||
body:get_body_type() -> str
|
body:get_body_type() -> str
|
||||||
-- Sets the physical body type
|
-- Sets the physical body type
|
||||||
body:set_body_type(type: str)
|
body:set_body_type(type: str)
|
||||||
|
|
||||||
|
-- Returns the body material (same as for blocks)
|
||||||
|
body:get_material() -> str
|
||||||
|
-- Sets the body material
|
||||||
|
body:set_material(material: str)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Skeleton
|
### Skeleton
|
||||||
|
|
|
||||||
|
|
@ -114,6 +114,11 @@ body:set_crouching(enabled: bool)
|
||||||
body:get_body_type() -> str
|
body:get_body_type() -> str
|
||||||
-- Устанавливает тип физического тела
|
-- Устанавливает тип физического тела
|
||||||
body:set_body_type(type: str)
|
body:set_body_type(type: str)
|
||||||
|
|
||||||
|
-- Возвращает материал тела (то же, что и у блоков)
|
||||||
|
body:get_material() -> str
|
||||||
|
-- Устанавливает материал тела
|
||||||
|
body:set_material(material: str)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Skeleton
|
### Skeleton
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue