.float com_phys_vel_max;
.float com_phys_vel_max_air;
.float com_phys_vel_max_air_strafe;
-.vector com_phys_acc;
.float com_phys_acc_rate;
.float com_phys_acc_rate_air;
.float com_phys_acc_rate_air_strafe;
vector g = '0 0 0';
if (this.com_phys_gravity_factor && !g) g = '0 0 -1' * PHYS_GRAVITY(NULL);
- vector acc = this.com_phys_acc;
vector vel = this.com_phys_vel;
vector pos = this.com_phys_pos;
ClipVelocity(vel, trace_plane_normal, vel, 1);
}
- this.com_phys_acc = acc;
this.com_phys_vel = vel;
this.com_phys_pos = pos;
setorigin(this, this.com_phys_pos);