]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/ecs/components/physics.qh
Merge branch 'post-0.8.2' into 'develop'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / ecs / components / physics.qh
1 #pragma once
2
3 COMPONENT(phys);
4 .vector com_phys_pos, com_phys_pos_prev;
5 .vector com_phys_ang, com_phys_ang_prev;
6 .vector com_phys_vel;
7 .float com_phys_vel_max;
8 .float com_phys_vel_max_air;
9 .float com_phys_vel_max_air_strafe;
10 .float com_phys_acc_rate;
11 .float com_phys_acc_rate_air;
12 .float com_phys_acc_rate_air_strafe;
13 .float com_phys_acc_rate_air_stop;
14 .float com_phys_friction;
15
16 .float com_phys_gravity;
17 .float com_phys_gravity_factor;
18 // TODO: remove
19 .bool com_phys_ground;
20 .bool com_phys_air;
21 .bool com_phys_ladder;
22 .bool com_phys_vel_2d;
23 .bool com_phys_water;
24 .bool com_phys_friction_air;
25 .bool move_qcphysics;