Definition at line 3 of file toss.qc.
References _Movetype_CheckVelocity(), _Movetype_CheckWaterTransition(), _Movetype_ClipVelocity(), _Movetype_PushEntity(), _Movetype_UnstickEntity(), absmax, absmin, angles, avelocity, bouncefactor, bouncestop, boxesoverlap(), entity(), GAMEPLAYFIX_GRENADEBOUNCESLOPES, GAMEPLAYFIX_NOAIRBORNCORPSE, GAMEPLAYFIX_SLIDEMOVEPROJECTILES, gravity, groundentity, IS_ONGROUND, min(), move_didgravity, move_movetype, move_suspendedinair, MOVETYPE_BOUNCE, MOVETYPE_BOUNCEMISSILE, MOVETYPE_TOSS, NOAIRBORNCORPSE_ALLOWSUSPENDED, NULL, SET_ONGROUND, SOLID_BSP, trace_ent, trace_fraction, trace_plane_normal, trace_startsolid, UNSET_ONGROUND, UPWARD_VELOCITY_CLEARS_ONGROUND, vector(), and velocity.
Referenced by _Movetype_Physics_ClientFrame(), and _Movetype_Physics_Frame().
36 this.velocity_z -= (GAMEPLAYFIX_GRAVITYUNAFFECTEDBYTICRATE ? 0.5 : 1)
51 for (
int bump = 0; bump < MAX_CLIP_PLANES && movetime > 0; bump++)
104 this.velocity =
'0 0 0';
124 this.velocity =
'0 0 0';
146 this.velocity_z -= 0.5 * dt * ((this.
gravity) ? this.
gravity : 1) * PHYS_GRAVITY(
this);
#define UPWARD_VELOCITY_CLEARS_ONGROUND(s)
vector _Movetype_ClipVelocity(vector vel, vector norm, float f)
float MOVETYPE_BOUNCEMISSILE
#define UNSET_ONGROUND(s)
float move_suspendedinair
int _Movetype_UnstickEntity(entity this)
void _Movetype_CheckWaterTransition(entity ent)
ERASEABLE float boxesoverlap(vector m1, vector m2, vector m3, vector m4)
requires that m2>m1 in all coordinates, and that m4>m3
vector(float skel, float bonenum) _skel_get_boneabs_hidden
#define NOAIRBORNCORPSE_ALLOWSUSPENDED(s)
vector trace_plane_normal
bool _Movetype_PushEntity(entity this, vector push, bool failonstartsolid, bool dolink)
#define GAMEPLAYFIX_NOAIRBORNCORPSE(s)
void _Movetype_CheckVelocity(entity this)
#define GAMEPLAYFIX_SLIDEMOVEPROJECTILES(s)
#define GAMEPLAYFIX_GRENADEBOUNCESLOPES(s)