update doc/*/scripting/ecs.md

This commit is contained in:
MihailRis 2026-03-16 00:13:12 +03:00
parent 578142c081
commit d6ebdfdd29
3 changed files with 21 additions and 1 deletions

View file

@ -119,6 +119,16 @@ body:set_body_type(type: str)
body:get_material() -> str
-- Sets the body material
body:set_material(material: str)
-- Returns the body's mass
body:get_mass() -> number
-- Sets the body's mass
body:set_mass(mass: number)
-- Returns the body's elasticity
body:get_elasticity() -> number
-- Sets the body's elasticity
body:set_elasticity(elasticity: number)
```
### Skeleton

View file

@ -106,7 +106,7 @@
### Эластичность - *elasticity*
Определяет эластичность сущности (влияет на отскок при столкновении).
Определяет упругость сущности.
### Высота шага - *step-height*

View file

@ -119,6 +119,16 @@ body:set_body_type(type: str)
body:get_material() -> str
-- Устанавливает материал тела
body:set_material(material: str)
-- Возвращает массу тела
body:get_mass() -> number
-- Устанавливает массу тела
body:set_mass(mass: number)
-- Возвращает упругость тела
body:get_elasticity() -> number
-- Устанавливает упругость тела
body:set_elasticity(elasticity: number)
```
### Skeleton