]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/ecs/components/physics.qh
Merge branch 'terencehill/infomessages_panel_update' into 'master'
[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 .vector com_phys_acc;
11 .float com_phys_acc_rate;
12 .float com_phys_acc_rate_air;
13 .float com_phys_acc_rate_air_strafe;
14 .float com_phys_acc_rate_air_stop;
15 .float com_phys_friction;
16
17 .vector com_phys_gravity;
18 .float com_phys_gravity_factor;
19 // TODO: remove
20 .bool com_phys_ground;
21 .bool com_phys_air;
22 .bool com_phys_ladder;
23 .bool com_phys_vel_2d;
24 .bool com_phys_water;
25 .bool com_phys_friction_air;
26 .bool move_qcphysics;