update doc/*/scripting/ecs.md

This commit is contained in:
MihailRis 2026-03-22 22:56:55 +03:00
parent 1fb0eb762d
commit 8ca74506f5
2 changed files with 6 additions and 0 deletions

View file

@ -129,6 +129,9 @@ body:set_mass(mass: number)
body:get_elasticity() -> number body:get_elasticity() -> number
-- Sets the body's elasticity -- Sets the body's elasticity
body:set_elasticity(elasticity: number) body:set_elasticity(elasticity: number)
-- Returns the velocity of the surface the body is on, or {0,0,0}
body:get_ground_vel() -> vec3
``` ```
### Skeleton ### Skeleton

View file

@ -129,6 +129,9 @@ body:set_mass(mass: number)
body:get_elasticity() -> number body:get_elasticity() -> number
-- Устанавливает упругость тела -- Устанавливает упругость тела
body:set_elasticity(elasticity: number) body:set_elasticity(elasticity: number)
-- Возвращает скорость поверхности, на которой находится тело, либо {0,0,0}
body:get_ground_vel() -> vec3
``` ```
### Skeleton ### Skeleton