mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
update doc/*/entity-properties.md
This commit is contained in:
parent
35d2ea4c86
commit
9297873004
2 changed files with 34 additions and 0 deletions
|
|
@ -95,6 +95,23 @@ Example:
|
|||
0. A rectangular area with a width, height and length of 0.4 m, centered at 0.0.
|
||||
1. Radial area with a radius of 1.6 m.
|
||||
|
||||
### *solid*
|
||||
|
||||
Makes the entity's hitbox an obstacle. When enabling this property for `dynamic` body, a mass must be specified.
|
||||
|
||||
### *mass*
|
||||
|
||||
Defines the entity's mass. Kilograms are used as the default.
|
||||
For `kinematic` bodies, an infinite mass is used instead.
|
||||
|
||||
### *elasticity*
|
||||
|
||||
Defines the entity's elasticity (affects the bounce on collision).
|
||||
|
||||
### *step-height*
|
||||
|
||||
Defines the maximum height of an obstacle an entity can step onto without jumping.
|
||||
|
||||
## View
|
||||
|
||||
### *skeleton-name*
|
||||
|
|
|
|||
|
|
@ -95,6 +95,23 @@
|
|||
0. Прямоугольная область шириной, высотой и длиной в 0.4 м. с центром в 0.0.
|
||||
1. Радиальная область с радиусом 1.6 м.
|
||||
|
||||
### Осязаемость - *solid*
|
||||
|
||||
Делает хитбокс сущности осязаемым препятствием. Вместе с включением данного свойства у `dynamic` тел следует указать массу (mass).
|
||||
|
||||
### Масса - *mass*
|
||||
|
||||
Определяет массу сущности. За стандарт приняты килограммы.
|
||||
В случае `kinematic` тела вместо указанной используется бесконечная масса.
|
||||
|
||||
### Эластичность - *elasticity*
|
||||
|
||||
Определяет эластичность сущности (влияет на отскок при столкновении).
|
||||
|
||||
### Высота шага - *step-height*
|
||||
|
||||
Определяет максимальную высоту препятствия, на которое сущность может шагнуть без прыжка.
|
||||
|
||||
## Вид
|
||||
|
||||
### Имя скелета - *skeleton-name*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue